01 June 2015

前言

原本自己,在中备份了自己的工作配置,结果发现,没能将vim的插件备份到代码库中,为此,特定写一个脚本来处理自动安装vim插件。

正文

vim插件的管理是通过 pathogen.vim 来处理的,总共安装了如下的这些插件:

mkdir -p ~/.vim/autoload ~/.vim/bundle && \
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
cd ~/.vim/autoload 
git clone https://github.com/mileszs/ack.vim
git clone https://github.com/tpope/vim-rails
git clone https://github.com/kien/ctrlp.vim
git clone https://github.com/mattn/emmet-vim
git clone https://github.com/scrooloose/nerdtree
git clone https://github.com/tomtom/tcomment_vim
git clone https://github.com/tomtom/tlib_vim
git clone https://github.com/tpope/vim-fugitive
git clone https://github.com/Lokaltog/vim-powerline
git clone https://github.com/plasticboy/vim-markdown
git clone https://github.com/pangloss/vim-javascript
git clone https://github.com/tpope/vim-haml
git clone https://github.com/Raimondi/delimitMate
git clone https://github.com/tpope/vim-surround
git cl https://github.com/honza/vim-snippets
git cl https://github.com/garbas/vim-snipmate
git clone https://github.com/kchmck/vim-coffee-script.git

备注: 一个一个下载,烦死了,早知道就直接将插件文件拷贝过来。版本库里不能包含版本库,这是经验。

后记

切换到Mac OSX中,没了当前选择区的选择即复制,感觉相当的不顺畅。不要带有成见的区看问题,mac自有mac的好处。




傲娇的使用Disqus