summaryrefslogtreecommitdiffstats
path: root/runtime/pack/dist/opt/comment/plugin/comment.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/pack/dist/opt/comment/plugin/comment.vim')
-rw-r--r--runtime/pack/dist/opt/comment/plugin/comment.vim9
1 files changed, 9 insertions, 0 deletions
diff --git a/runtime/pack/dist/opt/comment/plugin/comment.vim b/runtime/pack/dist/opt/comment/plugin/comment.vim
new file mode 100644
index 0000000000..94ac0670bf
--- /dev/null
+++ b/runtime/pack/dist/opt/comment/plugin/comment.vim
@@ -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() .. '_'