Vundle VIM

vundle 是一個 vim 的套件管理工具

使用git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim

就可以輕鬆的安裝 Vundle 了

然後再在 .vimrc 中設定即可

set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'gmarik/Vundle.vim'
call vundle#end()

將要安裝的 plugin 放在 vundle#begin() 與 vundle#end() 之中

然後下

:source %
:PluginInstall

recommendation plugin for PHP:

Plugin 'shawncplus/phpcomplete.vim'
Plugin 'scrooloose/nerdtree'
Plugin 'kien/ctrlp.vim'
Plugin 'jiangmiao/auto-pairs'
Plugin 'bling/vim-airline'
Plugin 'scrooloose/syntastic'
Plugin 'vim-scripts/DoxygenToolkit.vim'
Plugin 'scrooloose/nerdcommenter'

"need install ~/.vim/bundle/YouCompleteMe/install.py
Plugin 'Valloric/YouCompleteMe'
Plugin 'Valloric/ListToggle'
Plugin 'SirVer/ultisnips'
 
Plugin 'MarcWeber/vim-addon-mw-utils'
Plugin 'tomtom/tlib_vim'
Plugin 'garbas/vim-snipmate'
 
" plugin from http://vim-scripts.org/vim/scripts.html Plugin 'vim-scripts/bufexplorer.zip'
Plugin 'vim-scripts/cscope.vim'
Plugin 'vim-scripts/taglist.vim'

run codes on vim like this:

autocmd filetype php map <buffer> <leader>r<space> :w<cr>:!php -q -d open_basedir=/ % <bar> less <cr>

recommendation plugins for JS/node:

Plugin 'pangloss/vim-javascript'

recommendation plugins for PYTHON:

Plugin 'klen/python-mode'

recommendation plugins for RUBY:

Plugin 'vim-ruby/vim-ruby'
Tell others about me!

Leave a Reply

Your email address will not be published. Required fields are marked *