diff --git a/vim/config/keyboard.vim b/vim/config/keyboard.vim index 82441a7..2f8b5bb 100644 --- a/vim/config/keyboard.vim +++ b/vim/config/keyboard.vim @@ -140,8 +140,6 @@ " t | (N) -> convert tabs into spaces " T | (N) -> convert spaces into tabs " w | (N) -> remove whitespace -" c | (N) -> comment/uncomment current line -" c | (V) -> comment/uncomment selection " A | (N) -> aligns comments using the comment symbol " A | (V) -> aligns selected comments " a | (N) -> aligns all comments after text @@ -580,10 +578,6 @@ "remove trailing whitespace nnoremap w ':FixWhitespace:echo "Trailing whitespace has been removed"' - "commant/uncomment current line/selection using tcomment - nmap c gcc - vmap c gc - "align comments nnoremap A :exe "%Tabular" '/^[^'.matchstr(&commentstring, '[^%]*').']*\zs'.matchstr(&commentstring, '[^%]*').'.*':redraw! vnoremap A :exe "'<,'>Tabular" '/^[^'.matchstr(&commentstring, '[^%]*').']*\zs'.matchstr(&commentstring, '[^%]*').'.*':redraw!