I am new to vim,
Usually I find myself wanting to save and stay in insert mode, rather than hit escape key, :w and back into insert mode.
please help me
|
I am new to vim, Usually I find myself wanting to save and stay in insert mode, rather than hit escape key, :w and back into insert mode. please help me | |||||||||||
feedback
|
This question came from our site for professional and enthusiast programmers.
|
Ctrl+O, then | |||||||||||
feedback
|
|
You could add an alias like | |||||
feedback
|
|
Apart from that suggestion which Juliano mentioned (which should be taken out and shot <- the suggestion, not Juliano), it really is THE WRONG WAY TO DO IT. It would be actually more "normal" to try and do everything from command mode, instead of insert. But using them interchangeably is the usual vim's way and if one doesn't like it one should really stay clear of vim. If you really don't like not being able to save from I mode, may I suggest an editor called Cream - it is a variant of vim, modified in a way that emulates nowadays's editors (so to say, it stays in I mode all the time, and has usual windows shortcuts). | |||||||||||
feedback
|