runtime(comment): include a simple comment toggling plugin

fixes #14626
closes: #14634

Signed-off-by: Maxim Kim <habamax@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Maxim Kim
2024-04-26 19:53:13 +02:00
committed by Christian Brabandt
parent 00ae5c5cba
commit 5400a5d426
8 changed files with 147 additions and 2 deletions

View File

@ -1,4 +1,4 @@
*usr_05.txt* For Vim version 9.1. Last change: 2023 Sep 12
*usr_05.txt* For Vim version 9.1. Last change: 2024 Apr 26
VIM USER MANUAL - by Bram Moolenaar
@ -436,6 +436,18 @@ when Vim starts, add the following line to your vimrc file: >
After restarting your Vim, the plugin is active and you can read about it at: >
:h editorconfig.txt
Adding comment package *comment-install*
Load the plugin with this command: >
packadd comment
<
This way you can use the plugin with the default key bindings `gc` and similar
for commenting (which is a well-established mapping in the Vim community).
After restarting your Vim, the plugin is active and you can read about it at: >
:h comment.txt
More information about packages can be found here: |packages|.
==============================================================================