Ⅰ. 插件描述
Get nice Vim tips from the community :)Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'jonatasbaldin/vim-tips-own-character'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'jonatasbaldin/vim-tips-own-character'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'jonatasbaldin/vim-tips-own-character'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/jonatasbaldin/vim-tips
Ⅳ. 文档说明
## vim-tips
Get nice Vim tips from the community :)
Usage
:TipIf you want a tip at one keystroke, add this to your .vimrc
nnoremap <F5> :Tip<CR>If you want a tip everytime you open Vim, add this to your .vimrc
autocmd VimEnter * call Tip()Can I add my tip to the list?
Yes! Just open a PR with your tip on tips.md, following this structure:
First, add your name after the first ``` block. Don't add special chars here, please.
Then just type your tip here :)
You may add new lines or anything really, just make sure the tip is cool!Installation
vim-tips needs curl and td. If you on an Unix system, you should be fine. You can install it with your favorite plugin manager.
| Plugin Manager | Add to your /.vimrc |
|---|---|
| NeoBundle | NeoBundle 'jonatasbaldin/vim-tips' |
| Plug | Plug 'jonatasbaldin/vim-tips' |
| Vundle | Plugin 'jonatasbaldin/vim-tips' |
If you want to add Windows support, please contribute!
