Ben Fritz wrote :
> I personally avoid moving around in insert mode as much as possible.
> If I need to move any more than a single word away, or move to a
> different line, I ALWAYS leave insert mode first. To me, "insert mode"
> is less of a mode of operation than it is an incomplete command. I
> view "itypesometext<esc>" as a single command, not entering a mode,
> typing text, then leaving the mode. This actually agrees with the way
> Vim treats it, in a way...if you use 'u' to undo after an insert, it
> will remove all text inserted since you pressed the 'i' key in the
> first place. Basically the entire insertion is treated as a single
> operation.
I'm doing less and less operations in insert mode, and I agree that it
is a better way to edit. I think the only situation where I actually
need to move around is when I type something like that (JS):
myFunc({ Obj: "true"})
I tend to write myFunc(), then move one char left, then type {}, etc..
The only better ways I found were:
1. create an imap {} {}<Left>
2. use <C-O>h
The first one is annoying when I want to just type {} alone and I'm
having hard time getting used to the second.. But I'll get there.
Bertrand
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---