On 9/28/06, Karl Guertin [EMAIL PROTECTED] wrote:
I'm trying to get vim to auto-close parenthesis and set it up so that
the closing paren jumps past the end of the inserted one. This mapping
does the trick
A followup. I do have this working
inoremap ()C-R=NoUndoMove(-1)CR
inoremap )
I'm trying to get vim to auto-close parenthesis and set it up so that
the closing paren jumps past the end of the inserted one. This mapping
does the trick:
inoremap ( ()Left
inoremap ) C-Cf)a
But it breaks history so repeat (.) doesn't re-insert the entire
string. Is there any built in way to
Karl Guertin wrote:
I'm trying to get vim to auto-close parenthesis and set it up so that
the closing paren jumps past the end of the inserted one. This mapping
does the trick:
inoremap ( ()Left
inoremap ) C-Cf)a
But it breaks history so repeat (.) doesn't re-insert the entire
string. Is there