From 4039f9419805a0e640bd808fa9168a65a18b5ef1 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Fri, 2 Jun 2023 00:36:38 -0400 Subject: [PATCH] Remove the tcomment leader alias --- vim/config/keyboard.vim | 6 ------ 1 file changed, 6 deletions(-) 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!