Shougo / neosnippet.vim

neo-snippet plugin
Other
1.12k stars 108 forks source link

Undo the whole completion snippet #453

Closed resolritter closed 5 years ago

resolritter commented 5 years ago

After expanding a snippet and changing some words, I'd like to be able to undo the whole snippet expanded it with some command (not uuuuu). deoplete#undo_completion() does not work.

I think a good way to do this would be to save the position from :changelist in some variable and then go back in the undotree to that point. If it's a bit complicated to implement, I am happy to help!

Shougo commented 5 years ago

Sorry. It is not possible and I don't want to add new feature in neosnippet. It can be implemented in deoppet.nvim though.