Table of Contents

Evil-commentary layer

Table of ContentsClose

1. Description

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

1.1. Features:

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

2. 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.

3. 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

Author: root

Created: 2024-03-22 Fri 20:49

Validate