【笔记】ubuntu 安装vim插件合辑
感謝 czloveyeer 的轉發與啟示,我在他的基礎上進行了實驗和改動 原鏈接http://blog.csdn.net/czloveyeer/article/details/8076284
操作平臺: ubuntu LTS 12.04
0.首先你得有vim 版本7.3以上
1.先裝上exuberant catgs:
sudo apt-get install exuberant-ctags
2.安裝vundle,用于安裝vim插件,類似apt等軟件安裝包
git clone http://github.com/gmarik/vundle.git $HOME/.vim/bundle/vundle
3.獲取ivim配置文件:
git clone http://github.com/kepbod/ivim.git $HOME/ivim
(然后仔細閱讀$HOME/ivim文件夾中的readme文件中manual installation部分,照做就可以了,這里也一并列出)
4. Make symbolic links of vimrc to your home directory,
ln -s $HOME/ivim/vimrc $HOME/.vimrc
3. Install NeoBundle to install and update plugins,
git clone git://github.com/Shougo/neobundle.vim.git $HOME/.vim/bundle/neobundle.vim
4. 安裝插件
在$HOME/.vim/bundle/neobundle.vim/bin/文件夾中,用命令
neoinstall > /dev/null 2>&1
5. 用vim隨便打開一個文件,最好是c文件
終端會提示:
Not installed bundles: ['nerdcommenter', 'vim-multiple-cursors', 'vim-surround', 'emmet-vim', 'vim-pasta', 'vim-abolish', 'LaTeX-Box', 'splitjoin.vim', 'vim-hybrid', 'hardmode', 'vim-startify', 'unite.vim', 'vim-speeddating', 'tabular', 'vim-indent-guides', 'hammer.vim', 'vim-fugitive', 'vim-tmuxify', 'nerdtree', 'gitv', 'vim-rails', 'delimitMate', 'vim-airline', 'vim-bufferline', 'vim-gitgutter', 'vim-nerdtree-tabs', 'SingleCompile', 'vim-easymotion', 'limelight.vim', 'goyo.vim', 'golden-ratio', 'vim-repeat', 'neosnippet.vim', 'neocomplcache.vim', 'investigate.vim', 'undotree', 'CamelCaseMotion', 'neosnippet-snippets', 'targets.vim', 'syntastic', 'tagbar', 'base16-vim', 'vim-matchit', 'vim-colors-solarized', 'vim-snippets', 'vim-unimpaired', 'unite-outline', 'vim-polyglot']
Install bundles now?
輸入y,開始安裝所有插件
## 之后的一段日子里我會每天仔細研究一個上面列出的插件,并寫到博客里。
A mind needs books like a sword needs a whetstone.
總結
以上是生活随笔為你收集整理的【笔记】ubuntu 安装vim插件合辑的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: C#桌面时钟
- 下一篇: 版本控制工具VSS使用介绍