View Full Version : Very basic Vim question
7th August 2006, 04:05
I have been using Vim long enough to know this, but how do you exit 'Insert/replace' mode?
I just go to an empty line and press Alt+Delete, but this is a stupid way and might damage your code accidently if you dont do it on an empty line.
7th August 2006, 08:39
For what alt + del, or what is exactly your question? I can't get the point here.
I hit "alt + del" in view mode on a non empty line, nothing happens in insert mode it just does the same "del" does.
7th August 2006, 10:59
I edit file.cf
I press the Insert key to enter insert mode
I make my changes
In order to save and quit I must type :wq but I need to exit insert mode otherwise I type :wq into the file.
Alt Delete is what I am currently using to exit insert mode. But for me it also deletes text.
So, what key do you use to exit insert mode?
7th August 2006, 11:21
ah, sorry I misunterstood your sentence, I thought you already know it... just hit escape to leave it. then type :wq or :x
in case of ignore chagnes type :q!
7th August 2006, 11:24
Ahh, esc! Thanks
8th August 2006, 17:02
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.