j0d5 / vim-backstate

Set some useful Vim backup settings

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vim Backstate

Build Status MIT]

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.

Description

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 every 50 characters
  • undolevels=100: Save 100 levels of undo
  • undoreload=100: Reload these 100 undo levels on buffer reload
  • viminfo='20,<50,:100,n$HOME/.nviminfo

Installation

Use your favorite plugin manager.

Using vim-plug:

Plug 'tweetjay/vim-backstate'

License

This plugin is released under the MIT license. © by Johannes Steudle.

About

Set some useful Vim backup settings

License:MIT License


Languages

Language:Vim Script 98.7%Language:Shell 1.3%