Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aiya000/aho-bakaup.vim
aho-bakaup.vim backs up any files when you write the file
https://github.com/aiya000/aho-bakaup.vim
Last synced: 12 days ago
JSON representation
aho-bakaup.vim backs up any files when you write the file
- Host: GitHub
- URL: https://github.com/aiya000/aho-bakaup.vim
- Owner: aiya000
- License: mit
- Created: 2015-02-12T11:13:23.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-02-09T15:36:30.000Z (almost 3 years ago)
- Last Synced: 2024-08-01T17:41:32.776Z (3 months ago)
- Language: Vim script
- Homepage:
- Size: 55.7 KB
- Stars: 15
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# :muscle: aho-bakaup.vim :muscle:
[![Build Status](https://travis-ci.org/aiya000/aho-bakaup.vim.svg?branch=master)](https://travis-ci.org/aiya000/aho-bakaup.vim)A strongly `'backup'` of Vim for each your saving!
# :diamond_shape_with_a_dot_inside: What is this? :diamond_shape_with_a_dot_inside:
This backs up a file when you `:write` the file.For example, below file is saved when you `:write` /home/you/todo.md at 2016-10-06 11:06 :dog2:
```
~/.backup/vim_backup/2016-10-06/%home%you%todo.md_at_11:06
```# :gift: How to install :gift:
## With dein.vim
Please follow below line.```vim
call dein#add('aiya000/aho-bakaup.vim')
```Or follow below line if you use toml
```toml
[[plugins]]
repo = 'aiya000/aho-bakaup.vim'
```And if you load toml lazily, you can use below lines.
```toml
[[plugins]]
repo = 'aiya000/aho-bakaup.vim'
on_cmd = [
'BakaupBackupExecute',
'BakaupEnable',
'BakaupDisable',
'BakaupArchiveBackups',
'BakaupSetBackupDir',
'BakaupExplore',
'BakaupTexplore',
'BakaupVexplore',
'BakaupSexplore',
]
```# :thinking: How to use this :thinking:
```vim
let g:bakaup_auto_backup = 1
```This value is 0 by default.
aho-bakaup.vim is not enabled by default.
Above line enables aho-bakaup.vim!More specs are availabled in ./doc (`:help bakaup.vim`) :dog: