vim-endwise icon indicating copy to clipboard operation
vim-endwise copied to clipboard

Remove ending if entered manually

Open causal-agent opened this issue 12 years ago • 0 comments

It would be nice if it emulated the behaviour of paren-matching plugins that skip over the closing parenthesis if you enter it, rather than inserting a new one. For example:

def foo
   |
end

If you type end and hit enter with the cursor at the |, it should remove the the existing end and move the cursor to the line after it.

causal-agent avatar Nov 10 '13 20:11 causal-agent