Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 1.39 KB

README.org

File metadata and controls

32 lines (26 loc) · 1.39 KB

Evil-commentary layer

Table of Contents

Description

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

  • Use gcc to comment out a line (takes a count),
  • gc to comment out the target of a motion (for example,
  • gcap to comment out a paragraph), gc in visual mode to comment out the selection.

For more details see the evil-commentary repository.

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 BindingDescription
SPC ;comment operator
gcccomment current line
gcapcomment paragraphs
gc SPC ycomment up to a line with avy
gycomment and yank