Skip to content

Instantly share code, notes, and snippets.

@romainl
Created January 19, 2020 13:52
Show Gist options
  • Save romainl/0f589e07a079ea4b7a77fd66ef16ebee to your computer and use it in GitHub Desktop.
Save romainl/0f589e07a079ea4b7a77fd66ef16ebee to your computer and use it in GitHub Desktop.
Slightly more intuitive gt/gT (may need some unlearning to get used to)
nnoremap <expr> gt ":tabnext +" . v:count1 . '<CR>'
nnoremap <expr> gT ":tabnext -" . v:count1 . '<CR>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment