Menu
Newbedev LogoNEWBEDEV Python Javascript Linux Cheat sheet
Newbedev LogoNEWBEDEV
  • Python 1
  • Javascript
  • Linux
  • Cheat sheet
  • Contact

VIM: exit insert mode with :normal command

To add a literal <ESC> to your command, while in insert mode, press CTRL+V then <ESC>.

See :help i_CTRL-V.


The maintainable solution would be:

exe "normal! Ihello\<c-o>Aaworld\<esc>"

... :h :normal

Tags:

Vim

Macvim

Related

How do I convert an integer to a binary in Erlang? Changing the first day of week in rails How to check if all fields are unique in Oracle? "Parallel.For" for Java? Is it possible to get a list of files under a directory of a website? How? Equivalent of "continue" in Ruby CSS: DIV containing no height on float set Arithmetic bit-shift on a signed integer Change WPF window background image in C# code How to count string occurrence in string? How to use arguments from previous command? Mealy v/s. Moore

Recent Posts

Pandas how to find column contains a certain value Recommended way to install multiple Python versions on Ubuntu 20.04 Build super fast web scraper with Python x100 than BeautifulSoup How to convert a SQL query result to a Pandas DataFrame in Python How to write a Pandas DataFrame to a .csv file in Python
© 2021 newbedevPrivacy Policy