purge_undodir.vim : Purging useless undofile on exit
| script karma
Downloaded by 40
Comments, bugs, improvements
script versions (upload new version)
|Inspired by https://blog.debiania.in.ua/posts/2012-07-31-purging-vim-undodir.html
Implement it with pure vimscript for multiple platform support.
vim persistent-undo feature is very useful, but it will always keep the undofile in undodir, even the original file was already deleted.
This plugin will purge these undofile for you. 😄
Tested in vim/neovim on Windows/Linux/macOS
This plugin will running on VimLeave.
You can also run it manually by :call purge_undodir#purge()
You can always get the latest version on github
|1. Plugin Manager
Use your favorite plugin and add "jsfaint/purge_undodir.vim"
2. Traditional method
Unzip the zip file under your .vim (*nux) or vimfiles(windows) directory.
Click on the package to download.
ip used for rating: 22.214.171.124