Files
nerdcommenter/README.md
Andy Wokula b4827d552e readme
2016-12-18 17:54:51 +01:00

1.3 KiB

NERD Commenter

Installation

For initial instructions, check out the original script at https://github.com/scrooloose/nerdcommenter

Configuration

Suggested mappings to be put in the vimrc:

:map cc nerdcommenter#Plug('Comment')|ounmap cc|sunmap cc :map c nerdcommenter#Plug('Toggle')|ounmap c|sunmap c :map cm nerdcommenter#Plug('Minimal')|ounmap cm|sunmap cm :map cn nerdcommenter#Plug('Nested')|ounmap cn|sunmap cn :nmap c$ nerdcommenter#Plug('ToEOL') :map ci nerdcommenter#Plug('Invert')|ounmap ci|sunmap ci :map cs nerdcommenter#Plug('Sexy')|ounmap cs|sunmap cs :map cy nerdcommenter#Plug('Yank')|ounmap cy|sunmap cy :nmap cA nerdcommenter#Plug('Append') :map cl nerdcommenter#Plug('AlignLeft')|ounmap cl|sunmap cl :map cb nerdcommenter#Plug('AlignBoth')|ounmap cb|sunmap cb :map cu nerdcommenter#Plug('Uncomment')|ounmap cu|sunmap cu :nmap ca nerdcommenter#Plug('AltDelims')