This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/contrib/!vim/evil-commentary
2015-07-30 21:33:54 -04:00
..
packages.el Prefix categories with ! 2015-05-25 00:50:38 -04:00
README.org Fixed the formatting of the bullet points 2015-07-30 21:33:54 -04:00

Evil-commentary contribution layer for Spacemacs

Table of Contents   TOC@4

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 contribution add it to your ~/.spacemacs.

  (setq-default dotspacemacs-configuration-layers '(evil-commentary))