aho-bakaup.vim


Ⅰ. 插件描述

aho-bakaup.vim backs up any files when you write the file

Ⅱ. 基本信息

创建日期:  2015-02-12
使用用户:  1
Github星:  5
插件作者:  aiya000

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'aiya000/aho-bakaup-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'aiya000/aho-bakaup-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'aiya000/aho-bakaup-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/aiya000/aho-bakaup.vim

Ⅳ. 文档说明

# :muscle: aho-bakaup.vim :muscle:
Build Status

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.

call dein#add('aiya000/aho-bakaup.vim')

Or follow below line if you use toml

[[plugins]]
repo   = 'aiya000/aho-bakaup.vim'

And if you load toml lazily, you can use below lines.

[[plugins]]
repo   = 'aiya000/aho-bakaup.vim'
on_cmd = [
    'BakaupBackupExecute',
    'BakaupEnable',
    'BakaupDisable',
    'BakaupArchiveBackups',
    'BakaupSetBackupDir',
    'BakaupExplore',
    'BakaupTexplore',
    'BakaupVexplore',
    'BakaupSexplore',
]

:thinking: How to use this :thinking:

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:

添加新评论