diff options
| author | Teddy Wing | 2014-05-30 11:51:40 -0400 | 
|---|---|---|
| committer | Teddy Wing | 2014-05-30 11:51:40 -0400 | 
| commit | 6036b8b3bc9383adb5528bf172974cde8cb37f9f (patch) | |
| tree | 590720646eeb0951717276b3883c5d6a8a83cf70 | |
| parent | 9af971c5fed495e425ca41049dd2b8130f4c2f27 (diff) | |
| download | dotvim-6036b8b3bc9383adb5528bf172974cde8cb37f9f.tar.bz2 | |
vimrc: add <leader>tx to delete current buffer & go to previous tab
It was getting annoying having to keep typing "gT" after every ":bd".
| -rw-r--r-- | vimrc | 6 | 
1 files changed, 6 insertions, 0 deletions
| @@ -173,6 +173,11 @@  "       * Add <leader>sb to set scrollbinding so I can quickly set two windows   "         to scroll together  " +"   2014.05.30: +"       * Add <leader>tx to delete the current buffer and go to the previous  +"         tab. When I use :bd it goes to the next tab but more often I want to  +"         go back to the previous tab. +"  " Pathogen @@ -452,6 +457,7 @@ nnoremap <leader>/ :nohlsearch<cr>  " Tabs  nnoremap <leader>tn :tabnew<cr> +nnoremap <leader>tx :bdelete \| normal! gT<cr>  " Quickfix  nnoremap ]q :cnext<cr> | 
