From be61285b8ab418636a41dc631b51facf32cc65d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Sat, 30 Oct 2021 10:02:29 +0200 Subject: [PATCH] Added shortcut into Commentary --- .config/nvim/init.vim | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 3cb5d5f..ceea39a 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -120,6 +120,12 @@ nmap gp (coc-diagnostic-prev) nmap gn (coc-diagnostic-next) nnoremap cr :CocRestart +" Commentry +xmap c Commentary +nmap c Commentary +omap c Commentary +nmap cc CommentaryLine + " Status-line set statusline= set statusline+=%#IncSearch#