Created
February 17, 2015 00:55
-
-
Save juanpabloaj/01ad2751a9d12a5b69e9 to your computer and use it in GitHub Desktop.
tabnext or buffernext
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
nnoremap <silent>gt : exec tabpagenr('$') == 1 ? 'bn' : 'tabnext'<CR> | |
nnoremap <silent>gT : exec tabpagenr('$') == 1 ? 'bp' : 'tabprevious'<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment