purge_undodir.vim : Purging useless undofile on exit
script karma |
Rating -1/1,
Downloaded by 643 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Jia Sui |
|
script type |
utility |
|
description |
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
https://github.com/jsfaint/purge_undodir.vim |
|
install details |
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. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 3.12.149.233
|