vim插件配置

vim插件配置

安裝vundle

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

使用vundle進行插件安裝:

"nerdtree打開隱藏快捷鍵
map <F3> :NERDTreeMirror<CR>
map <F3> :NERDTreeToggle<CR>

"plugin
set nocompatible
filetype off 
map <C-n> :NERDTreeToggle<CR>
set rtp+=~/.vim/bundle/Vundle.vim

call vundle#begin() 
Plugin 'https://github.com/kien/ctrlp.vim.git'
Plugin 'https://github.com/scrooloose/nerdtree.git'
Plugin 'https://github.com/aperezdc/vim-template.git'
call vundle#end()

filetype plugin indent on

插件安裝

vim +PluginInstall +qall
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章