This plugin contains useful backup settings for Vim. This plugin enables Vim capabilities for saving the current state of the view, undo, backup and swap files.
These files are saved in your ~/.vim/
folder with the following structure:
backups/
views/
swaps/
undos/
The following default settings are made:
updatecount=50
: Save to the swap file every50
charactersundolevels=100
: Save100
levels of undoundoreload=100
: Reload these100
undo levels on buffer reloadviminfo='20,<50,:100,n$HOME/.nviminfo
Use your favorite plugin manager.
Using vim-plug:
Plug 'tweetjay/vim-backstate'
This plugin is released under the MIT license. © by Johannes Steudle.