Saturday, May 24, 2008

Normal command from Insert mode

Always forget the very useful shortcut which is apparently intended for "Vim Easy":

^O

When in insert mode (and, by definition, in easy vim you are always in the mode) to insert command from Normal mode, you press first ^O and then start typing the command.

e.g. to delete to the end of line press ^O followed by Shift-d. Pressing : you can also access all the ex commands too - but that will leave insert mode.

2 comments:

Anonymous said...

Thanks for the info.

Anonymous said...

Very useful; thanks!