2

On vim's help :help jumplist I can read:

Jumps are remembered in a jump list. With the CTRL-O and CTRL-I command you can go to cursor positions before older jumps, and back again. Thus you can move up and down the list.

However, on my terminal mintty, Vim makes no differences between Tab and Ctrl+i.

I am wondering what is the magic to use Ctrl+i on Vim?

  • 2
    This answer by Gilles (a well-known Unix user) clarifies why TAB and CTRL-I are equivalent. – Jair López Oct 7 '16 at 9:49
6

ControlI is Tab (I is character code 73 and control subtracts 64; this leaves us with 9, which is TAB).

Every vim install I've tried this on (including gvim) maps this to <tab> - even :help <ctrl-i> shows us that the feature you want is actually also bound to <tab>.

From my testing, it works fine on any vim install that doesn't map <tab> to anything else. Use :map <tab> to check if you've got any mappings set up for that key.

  • Well yes, I have remapped my <Tab> :) – nowox Oct 7 '16 at 8:18
  • For reference. To unmap tab, use :unmap <Tab> – chris Mar 2 '17 at 9:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.