2
votes

For some strange reason ctrl-i/o combination to jump to previous/next location doesn't work for me.

As suggested in the comment to OP Jump with Ctrl-O/I doesn't work in my Vim

:verbose map <C-o> and :verbose map <C-i> gives me "no mapping found".

How do i restore these key mappings ?

EDIT : This is my vimrc http://pastebin.com/bX2NkNgz

3
have you tried running vim with -u NONE to see if any plugins are causing this gassy behavior? - Andy Ray

3 Answers

0
votes

You should use

:verbose map <C-o>
:verbose map <C-i>

Or you can press C-vC-i and C-vC-o respectively

(if on Windows, you might need to use C-q instead of C-v)


PS. Are you on windows? If so, try scrapping behave mswin and source mswin.vim and similar from $MYVIMRC. Restart

0
votes

<C-o> and <C-i> are built-ins: you won't see them with :map. Same for any other d or zM.

Just to be sure, are you in normal mode? Are you using Vim in "easy" mode? Could you show us the content of your vimrc?

0
votes

I was in same situation.

Do you use tmux or other terminal multiplexer?

In my case, I overwrote vim key mapping blow code, so I remove below code, then finally <C-o> , <C-i> works well.

bind-key -n C-o run "tmux select-pane -l || tmux select-pane -t :.+"