In Vim the commands
<C-i> move backwards and forwards through the jump list.
I noticed that
<Tab> is the alternative command you can use instead of
<C-i> and this leads me to my question...
I have the following mapping defined in my
nnoremap <Tab> gt
It works fine, in that if I press
<Tab> and there are tabs open, it will iterate through the list of tabs.
But I then noticed that
<C-i> stops working and instead is mapped to my new mapping behaviour...
:verbose map <C-i>
...would show the line in my
.vimrc where I had defined the updated
How can I prevent
<C-i> from being remapped to where I'm now mapping
I already use
<Tab> doesn't get expanded back to the original
<C-i> jump list behaviour, and so I'm not sure how to prevent that with
<C-i> unless I try maybe doing something weird like
nnoremap <C-i> <C-i> (which doesn't work btw as I tried it).
Note: if I comment out my new map
nnoremap <Tab> gtand restart Vim the
<C-i>behaviour goes back to normal, and there's no longer a mapping against it (e.g.
:verbose map <C-i>returns nothing).