Raimondi / delimitMate

Vim plugin, provides insert mode auto-completion for quotes, parens, brackets, etc.
http://www.vim.org/scripts/script.php?script_id=2754
1.98k stars 117 forks source link

JumpOut: delete and insert char instead of jumping over [idea] #169

Closed blueyed closed 10 years ago

blueyed commented 10 years ago

I am proposing this as an idea: instead of jumping over the character, replace it.

This fixes https://github.com/Raimondi/delimitMate/issues/168 (where the char to be inserted triggers indentation).

It only covers one of the cases in JumpOut and should get adopted for others also (if this is a sensible approach).

Raimondi commented 10 years ago

It was like that before, not sure why I changed it to what it is now but it was a bad decision. It even preserves undo.

Thanks!