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