I am trying to map a key combination to an existing key combination and added this in .vimrc file:
noremap <C-A> <C-TAB>
what I want to do is to let CTRLA does exactly what CTRLTab does in my Vim environment. But it is not working. Could someone point out what I did wrongly, thanks.
The “nore” on the front stands for “no recurse”, i.e. it won’t “recurse” to invoke C-TAB as a command. I believe just
map <C-A> <C-TAB>should work, if I grok the question (and vim…). See:help map-commandsfor some useful explanation.I’m not sure whether you really want to do this though, as it could interfere with other commands.