vim-superupdate


Ⅰ. 插件描述

superupdate: Automatically update Vim plugins

Ⅱ. 基本信息

创建日期:  2015-12-21
使用用户:  1
Github星:  1
插件作者:  Bradford Smith

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/bradford-smith94/vim-superupdate

Ⅳ. 文档说明

# vim-superupdate

Superupdate integrates with your Vim plugin manager to automatically check for
and update your plugins so that you don't have to remember to.

Configuration

Warn

'g:superupdate_warn'

Type: boolean

Default: 0

When this is a non-zero value superupdate will print a warning message when
plugins would be updated instead of actually updating them.

Example: let g:superupdate_warn = 1

Interval

'g:superupdate_interval'

Type: integer

Default: 7 (every week)

The number of days between updates.

Example: let g:superupdate_interval = 14 (every other week)

Days

'g:superupdate_days'

Type: list (of integers)

Default: [] (All days, same as [0, 1, 2, 3, 4, 5, 6])

A list of the days when updates should be allowed to take place. Days are to
be represented as integers with 0 being Monday and 6 being Sunday.

Example: let g:superupdate_days = [4, 5, 6] (Friday, Saturday or Sunday)

Command

'g:superupdate_command'

Type: string

Default: None (attempts to autodetect)

The command used to update plugins.

Example: let g:superupdate_command = 'PlugUpdate' (vim-plug)

Skip First

'g:superupdate_skip_first'

Type: boolean

Default: 0

When this is a non-zero value superupdate will skip trying to update plugins on
it's first run.

Example let g:superupdate_skip_first = 1

Help

Also check out the help page: :help superupdate.

添加新评论