Search code examples
vim

How can I map Ctrl-TAB to something in Vim?


I'd like to map Ctrl-TAB to gt in Vim so that I can switch tabs with one keystroke.

I tried...

nmap <C-T> gt
nmap <C-Tab> gt
nmap <C-TAB> gt

That didn't work. How do you say "the tab key" in Vimese?


Solution

  • It can be mapped in gvim, but terminals don't see a difference between <Tab> and <C-Tab>.