從 vim pathogen 無痛轉移到 vundle

less than 1 minute read


取得 Vundle

git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim

在 .vimrc 內啟用 vundle 及 要安裝的Plugins

" be iMproved, required
set nocompatible

" required
filetype off

" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()

" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')

" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'

相關範例可以參考我的vim設定檔得到更多資訊

安裝 Plugins

打開 vim 後運行 :PluginInstall

Reference:

Tags:

Updated:

Leave a comment