spacemacs/layers/+vim/evil-commentary
Arif Er 00f9ab19ac chore: update copyright headers to 2022
The script used to identify and update the change is added into the GitHub
workflows script directory. A workflow action can be created to trigger the
script to update the headers on the first of every new year. Possibly a task for
a consequent PR.
2022-06-03 17:32:20 +02:00
..
README.org Switch to the new layers generator 2019-05-15 21:08:21 +03:00
packages.el chore: update copyright headers to 2022 2022-06-03 17:32:20 +02:00

README.org

Evil-commentary layer

Description

This layer replaces evil-nerd-commenter with evil-commentary for those who prefer the behaviour of vim-commentary.

Features:

  • Provides the original vim behaviour for commenting out lines via evil-commentary.

Install

To use this configuration layer, add it to your ~/.spacemacs. You will need to add evil-commentary to the existing dotspacemacs-configuration-layers list in this file.

Key bindings

Key binding Description
SPC ; comment operator
gcc comment current line
gcap comment paragraphs
gc comment out the target of a motion
gc SPC y comment up to a line with avy
gy comment and yank