Created
May 17, 2012 09:34
-
-
Save dahu/2717762 to your computer and use it in GitHub Desktop.
Tabnewleft
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Tabnewleft - Open tab page to the left of the current tab page | |
" Barry Arthur, 2012 5 17 | |
function! Tabnewleft() | |
let curtabpage = tabpagenr() | |
tabnew | |
exe "tabmove " . (curtabpage - 1) | |
endfunction | |
command! Tabnewleft call Tabnewleft() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment