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:
committed by
Christian Brabandt
parent
00ae5c5cba
commit
5400a5d426
9
runtime/pack/dist/opt/comment/plugin/comment.vim
vendored
Normal file
9
runtime/pack/dist/opt/comment/plugin/comment.vim
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
vim9script
|
||||
|
||||
# Maintainer: Maxim Kim <habamax@gmail.com>
|
||||
# Last Update: 2024-04-26
|
||||
|
||||
import autoload 'comment.vim'
|
||||
nnoremap <silent> <expr> gc comment.Toggle()
|
||||
xnoremap <silent> <expr> gc comment.Toggle()
|
||||
nnoremap <silent> <expr> gcc comment.Toggle() .. '_'
|
||||
Reference in New Issue
Block a user