vim 配置
0,base
packages:
vim-common-8.0.1030-1.fc25.x86_64 vim-minimal-8.0.1030-1.fc25.x86_64 vim-syntastic-3.7.0-9.fc25.noarch vim-filesystem-8.0.1030-1.fc25.x86_64 vim-enhanced-8.0.1030-1.fc25.x86_64 vim-syntastic-python-3.7.0-9.fc25.noarch vim-syntastic-c-3.7.0-9.fc25.noarch
1,nerdtree
packages:
vim-nerdtree-4.2.0-13.fc24.noarch
vimrc:
" NERDtree : " --------------------------- " 使用 NERDTree 插件查看工程文件 nmap <C-l> :NERDTreeToggle<CR> " 设置NERDTree子窗口宽度 let NERDTreeWinSize=32 " 设置NERDTree子窗口位置 let NERDTreeWinPos="right" " 显示隐藏文件 let NERDTreeShowHidden=1 " NERDTree 子窗口中不显示冗余帮助信息 let NERDTreeMinimalUI=1 " 删除文件时自动删除文件对应 buffer let NERDTreeAutoDeleteBuffer=1 " ---------------------------
2,powerline
packages:
powerline-fonts-2.6-1.fc25.x86_64 vim-powerline-2.6-1.fc25.noarch powerline-2.6-1.fc25.x86_64
vimrc:
" Powerline "set rtp+=/usr/local/lib/python2.7/dist-packages/powerline/bindings/vim/ set rtp+=/usr/lib/python3.5/site-packages/powerline/bindings/vim set laststatus=2 set t_Co=256
3,taglist
packages:
vim-taglist-4.6-11.fc24.noarch
vimrc:
" taglist " 按F8按钮,在窗口的左侧出现taglist的窗口 nnoremap <silent> <F8> :TlistToggle<CR><CR> " :Tlist 调用TagList let Tlist_Show_One_File=0 " 只显示当前文件的tags let Tlist_Exit_OnlyWindow=1 " 如果Taglist窗口是最后一个窗口则退出Vim let Tlist_File_Fold_Auto_Close=1 " 自动折叠
4,ctags
packages:
ctags-5.8-18.fc24.x86_64
usage:
ctags -R
<C-]>
5,cscope
packages:
cscope-15.8b-2.fc24.x86_64
usage:
cscope -Rbq :cs f s XXX 0 or s: Find this C symbol 1 or g: Find this definition 2 or d: Find functions called by this function 3 or c: Find functions calling this function 4 or t: Find this text string 6 or e: Find this egrep pattern 7 or f: Find this file 8 or i: Find files #including this file 9 or a: Find places where this symbol is assigned a value
http://www.cnblogs.com/skynext/
posted on 2017-09-19 15:10 Wigde.Xiao 阅读(120) 评论(0) 编辑 收藏 举报