mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-25 20:51:26 -05:00
Remove the tcomment leader alias
This commit is contained in:
parent
3f7e7d1582
commit
4039f94198
1 changed files with 0 additions and 6 deletions
|
@ -140,8 +140,6 @@
|
||||||
" <Leader>t | (N) -> convert tabs into spaces
|
" <Leader>t | (N) -> convert tabs into spaces
|
||||||
" <Leader>T | (N) -> convert spaces into tabs
|
" <Leader>T | (N) -> convert spaces into tabs
|
||||||
" <Leader>w | (N) -> remove whitespace
|
" <Leader>w | (N) -> remove whitespace
|
||||||
" <Leader>c | (N) -> comment/uncomment current line
|
|
||||||
" <Leader>c | (V) -> comment/uncomment selection
|
|
||||||
" <Leader>A | (N) -> aligns comments using the comment symbol
|
" <Leader>A | (N) -> aligns comments using the comment symbol
|
||||||
" <Leader>A | (V) -> aligns selected comments
|
" <Leader>A | (V) -> aligns selected comments
|
||||||
" <Leader>a | (N) -> aligns all comments after text
|
" <Leader>a | (N) -> aligns all comments after text
|
||||||
|
@ -580,10 +578,6 @@
|
||||||
"remove trailing whitespace
|
"remove trailing whitespace
|
||||||
nnoremap <silent><expr> <Leader>w ':FixWhitespace<CR>:echo "Trailing whitespace has been removed"<CR>'
|
nnoremap <silent><expr> <Leader>w ':FixWhitespace<CR>:echo "Trailing whitespace has been removed"<CR>'
|
||||||
|
|
||||||
"commant/uncomment current line/selection using tcomment
|
|
||||||
nmap <Leader>c gcc
|
|
||||||
vmap <Leader>c gc
|
|
||||||
|
|
||||||
"align comments
|
"align comments
|
||||||
nnoremap <Leader>A :exe "%Tabular" '/^[^'.matchstr(&commentstring, '[^%]*').']*\zs'.matchstr(&commentstring, '[^%]*').'.*'<CR>:redraw!<CR>
|
nnoremap <Leader>A :exe "%Tabular" '/^[^'.matchstr(&commentstring, '[^%]*').']*\zs'.matchstr(&commentstring, '[^%]*').'.*'<CR>:redraw!<CR>
|
||||||
vnoremap <Leader>A <C-u>:exe "'<,'>Tabular" '/^[^'.matchstr(&commentstring, '[^%]*').']*\zs'.matchstr(&commentstring, '[^%]*').'.*'<CR>:redraw!<CR>
|
vnoremap <Leader>A <C-u>:exe "'<,'>Tabular" '/^[^'.matchstr(&commentstring, '[^%]*').']*\zs'.matchstr(&commentstring, '[^%]*').'.*'<CR>:redraw!<CR>
|
||||||
|
|
Loading…
Reference in a new issue