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/layers/+vim/evil-commentary
smile13241324 d85eb092d0 Fixed the next bunch of documents
Fix doc for coq, semantic-web, source-control, evil-commentary
and spotify layer.
2018-02-04 06:21:18 +02:00
..
packages.el
README.org Fixed the next bunch of documents 2018-02-04 06:21:18 +02:00

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