Ⅰ. 插件描述
Extend .vimrc for each project with .vimrc.custom in your project path.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'ibotdotout/vimrc-custom'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'ibotdotout/vimrc-custom'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'ibotdotout/vimrc-custom'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/ibotdotout/vimrc-custom
Ⅳ. 文档说明
#Vimrc Custom
Extend .vimrc for each project with .vimrc.custom in your project path.
Require always stay on working directory path that have .vimrc.custom
that can check by :echo $PWD
Example:
$ tree
.
├── .vimrc.custom
├── README.md
├── abstract.tex
├── acknowledgement.tex
├── appendix1
│ └── appendix1.tex
├── appendix2
│ └── appendix2.tex
├── bin
│ ├── compile
│ └── compile-with-bib
├── chapter1
│ └── chapter1.tex
├── chapter2
│ └── chapter2.tex
├── references.bib
├── thesis.bbl
├── thesis.tex
# vimrc.custom working
$ vim .
$ vim thesis.tex
$ vim chapter1/chapter1.tex
# vimrc.custom not working that can't find .vimrc.custom in your working path
$ cd chapter1 && vim chapter1.tex
$ ..
$ cd chapter2
$ vim chapter2.tex