Reputation: 53
Is it possible to map "Cmd + Shift + ]" to switch tabs in vim? If so, what should I add to my .vimrc file?
Thanks
Upvotes: 0
Views: 224
Reputation: 432
I don't use a Mac, but I believe that you cannot chain ⌘ and Shift. Might I suggest Alt? And since Shift+] is just }
, give this a try:
noremap <A-}> gt
or
noremap <A-}> :tabnext<CR>
Then you should be able to use Alt+Shift+] to move through your tabs.
Upvotes: 1