aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugin/abbreviations.vim1
-rw-r--r--vimrc7
2 files changed, 7 insertions, 1 deletions
diff --git a/plugin/abbreviations.vim b/plugin/abbreviations.vim
index 58966be..0e4451e 100644
--- a/plugin/abbreviations.vim
+++ b/plugin/abbreviations.vim
@@ -1,2 +1 @@
-cabbrev t TComment
cabbrev tb TBuffer
diff --git a/vimrc b/vimrc
index e8603ee..35394ba 100644
--- a/vimrc
+++ b/vimrc
@@ -470,6 +470,9 @@
" 2020.09.24:
" * Add <leader>db to open buffers with Pick and :TBuffer.
"
+" 2020.10.13:
+" * Add command alias `T` to `TComment`.
+"
" Pathogen
@@ -715,6 +718,10 @@ nnoremap <leader>sm :call whitespace_method_chain#SplitMethodChainToMultipleLine
nnoremap gS :ArgWrap<cr>
+" TComment
+command! -bar -bang -range -nargs=* T <line1>,<line2>TComment<bang> <args>
+
+
" Mappings
" ========