gvim ubuntu 安装,配置
gvim
Vundle
sudo apt install ctags
Vundle
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
call vundle#end()
filetype plugin indent on
Taglist
Plugin 'taglist.vim'
" ----------------------------- Taglist -----------------------------
let Tlist_Show_One_File=1 "不同时显示多个文件的tag,只显示当前文件的
let Tlist_Exit_OnlyWindow=1 "如果taglist窗口是最后一个窗口,则退出vim
let Tlist_Ctags_Cmd="ctags" "将taglist与ctags关联
let Tlist_Use_Right_Window=1
let Tlist_Sort_Type="name"
let Tlist_Process_File_Always=1
let Tlist_Show_Menu=1
let Tlist_Auto_Open=1
nmap <F4> :TlistToggle<CR>
set tags=tags;
set autochdir
Plugin 'The-NERD-tree'
" ----------------------------- Nerdtree -----------------------------
let NERDTreeIgnore=['\.pyc','\~$','\.swp','\.o','\.ko','\.symvers','\.order','\.mod.c']
map <F3> :NERDTreeToggle<CR>
Plugin 'tomasr/molokai'
Plugin 'tomasr/molokai'
set t_Co=256
color molokai

浙公网安备 33010602011771号