vim-endwise
vim-endwise copied to clipboard
Remove ending if entered manually
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.