Mapping <C-Tab> in my vimrc fails in Ubuntu
Posted
by nfm
on Stack Overflow
See other posts from Stack Overflow
or by nfm
Published on 2010-04-21T21:40:14Z
Indexed on
2010/04/21
21:43 UTC
Read the original article
Hit count: 500
I want to map ctrl-tab to :tabn, and ctrl-shift-tab to :tabp.
I had it working for gVim in Windows XP, but moved it to my .vimrc in Ubuntu 9.10 and it doesn't work (vim 7.2).
Here's the relevant section of my .vimrc:
nmap <C-Tab> :tabn<CR>
nmap <C-S-Tab> :tabp<CR>
nmap <C-t> :tabnew<CR>
<C-t>
works fine, so mapping the ctrl key doesn't seem to be a problem. I really have no idea where to start! What could be going wrong here, considering it worked fine under Windows?
© Stack Overflow or respective owner