aboutsummaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 8bfd146..10ec759 100644
--- a/vimrc
+++ b/vimrc
@@ -415,6 +415,9 @@
" * Use long command line options to `ag` in `g:pick_command`.
" * Include hidden files in `g:pick_command`.
"
+" 2019.06.01:
+" * Add `<leader>tc` mapping to close current tab.
+"
" Pathogen
@@ -718,6 +721,9 @@ nnoremap <leader>td :bdelete \| normal! gT<cr>
" Quit buffer and go to previous tab
nnoremap <leader>tq :quit \| normal! gT<cr>
+" Close tab
+nnoremap <leader>tc :tabclose<cr>
+
" Go to last viewed tab
" http://stackoverflow.com/a/2120168
let g:last_viewed_tab = 1