From 65d3bd2f83070c25168a6fd226ba3ec96230e22d Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Thu, 10 Dec 2020 19:29:31 +0100 Subject: [PATCH] Update commenter plugin config --- .vimrc | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.vimrc b/.vimrc index f5bf6e2..e0c58d4 100644 --- a/.vimrc +++ b/.vimrc @@ -1,5 +1,4 @@ " General config ______________________ -" set nocompatible @@ -173,14 +172,11 @@ call plug#end() " Plugin config ________________________ -" Plugin: NERDCommenter +" Plugin: vim-commentary -let g:NERDSpaceDelims = 1 -let g:NERDCompactSexyComs = 1 -let NERDAltDelims_haskell = 1 -let g:NERDCustomDelimiters = { 'tidal': { 'left': '{-','right': '-}' } } -let g:NERDCustomDelimiters = { 'tidal': { 'left': '--','right': '' } } -let g:NERDCommentEmptyLines = 1 +xmap c Commentary +nmap c Commentary +nmap cc CommentaryLine " Plugin: fzf