1

I was trying to navigate the jump list in MacVim and I noticed that <C-I> doesn't work, although it works fine in normal Vim.

In insert mode, pressing <C-V><C-I> gives <D-<89>>. <C-V><Tab> gives ^I. (In normal vim (not MacVim), doing the same yields ^[ and ^I, respectively.)

My first thought was to check if I had a mapping set.

output of :map

x  gx            <Plug>NetrwBrowseXVis
n  gx            <Plug>NetrwBrowseX
x  <Plug>NetrwBrowseXVis * :<C-U>call netrw#BrowseXVis()<CR>
n  <Plug>NetrwBrowseX * :call netrw#BrowseX(netrw#GX(),netrw#CheckIfRe
mote(netrw#GX()))<CR>

output of :map!

No mapping found.

I saw mentioned on this thread that <Tab> and <C-I> are mirrored. But I don't have a mapping for <Tab> anywhere as you can see above.

I'm stuck at this point. Help appreciated!

2 Answers2

1

In theory, <C-v><C-i> should just produce a simple <Tab> (U+0009), definitely not <D-<89>> or <D-<anything>> for that matter.

In <D-<89>>,

U+0089 seems vaguely related to U+0009 so that would be one thing to investigate, but the combination with the Command key is weird.

If I were you I would open an issue in MacVim's issue tracker.

romainl
  • 186,200
  • 21
  • 280
  • 313
0

Oops, it turns out I had a hardware keybinding overwriting Ctrl+i to Ctrl+option+cmd+i. In Vim this resulted in <C-i> because it was discarding the extra cmd and option keys.

buddemat
  • 4,552
  • 14
  • 29
  • 49