標籤:
感謝 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,開始安裝所有外掛程式
## 之後的一段日子裡我會每天仔細研究一個上面列出的外掛程式,並寫到部落格裡。
【筆記】ubuntu 安裝vim外掛程式合輯