diff options
author | Teddy Wing | 2019-06-01 15:51:42 +0200 |
---|---|---|
committer | Teddy Wing | 2019-06-01 15:51:42 +0200 |
commit | 76a11871d828cd266f47911db35d215ffc15ff13 (patch) | |
tree | 526f0fb11a07a8086739a9a723aff967578f584d | |
parent | cc86bdf4af5212a3b2a7960e65c402eac71091c1 (diff) | |
download | dotvim-76a11871d828cd266f47911db35d215ffc15ff13.tar.bz2 |
vimrc: Add `<leader>tc` mapping to close current tab
Add a mapping to close tabs with multiple windows more quickly.
-rw-r--r-- | vimrc | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |