tags:

views:

442

answers:

3

I want to have the reverse of

Ctrl-O

to be

Shift-Ctrl-O

The original reverse is

Ctrl-i

How can you remap the reverse of Ctrl-O in Vim to be Shift-Ctrl-O?

+4  A: 

As shown in help under

:help C-o

the "reverse" of C-o is

Ctrl-I or Tab
ldigas
@Idigas: How can you remap the key to Shift-Ctrl-O. I cannot ever remember the C-i.
Masi
@Idigas: Thank you for your answer!
Masi
+2  A: 

Unfortunately Vim recognises Control-o and Control-O as synonyms.
There's some information here about why you can't map Control-Shift-o, but it doesn't look like it's possible.

I've upvoted Idigas answer, it's not that hard to remember Control-I.

Andy
A: 

Vim sees ctrl-shift-o as ctrl-o because of a limitation with terminal emulators.

graywh