Ⅰ. 插件描述
:cyclone: yet another plugin called vimrcⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'iiey/vimconfig-care-of-itself'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'iiey/vimconfig-care-of-itself'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'iiey/vimconfig-care-of-itself'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/iiey/vimconfig
Ⅳ. 文档说明
# vimconfig
stuff from my vimrc breaks into pieces for keeping organised things more organised
Install
On Unix backup the existing ~/.vimrc and replace it by executing:
git clone https://github.com/iiey/vimconfig ~/.vim/bundle/vimconfig \
&& ln -sfn ~/.vim/bundle/vimconfig/vimrc ~/.vimrcStructure
- Basic setting:
vimconfig/plugin/setting.vim - Commands:
vimconfig/plugin/command.vim - Mapping:
vimconfig/plugin/mapping.vim - Plugins configuration:
vimconfig/plugin/bundle.vim - Functions:
vimconfig/autoload/utilfunc.vim
Note
airline Install powerline fonts:
- On Linux: fontconfig should work out for any coding font without patching
- On MacOS: download patched fonts from powerline-fonts, double click to install, set terminal using patched fonts
- Or disable if don't need powerline symbols. In bundle.vim:
let g:airline_powerline_fonts=0
clang_complete default library path:
- In bundle.vim:
let g:clang_library_path=expand("$HOME")."/lib/"
- In bundle.vim:
ctrlp avoid breaking default behaviours
<c-n><c-p>- In mapping.vim:
let g:ctrlp_map =[p
- In mapping.vim: