Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to have the reverse of Ctrl-O in Vim

Tags:

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?

like image 382
Léo Léopold Hertz 준영 Avatar asked May 09 '09 16:05

Léo Léopold Hertz 준영


People also ask

What does Ctrl o do in Vim?

In insert mode, Ctrl-o escapes user to do one normal-mode command, and then return to the insert mode. The same effect can be achieved by <ESC> ing to normal mode, doing the single command and then entering back to insert mode. Ctrl-i is simply a <Tab> in insert mode.

What does ctrl t do in Vim?

The documentation isn't especially clear— CTRL + T is to jump back in the tag stack, whereas CTRL + O is to jump back to the previous cursor position.

What does Ctrl F do in Vim?

Ctrl+f will search within the file ctrl+shift+f will search in all the files in the folder tree.


1 Answers

As shown in help under

:help C-o 

the "reverse" of Ctrl+o is

Ctrl+i or Tab

like image 173
Rook Avatar answered Oct 24 '22 23:10

Rook