|
文件: |
vimrc.zip |
大小: |
1KB |
下载: |
下载 | |
这个配置是一个便于阅读源代码的,类似于sourceinsight,
用cscope和ctags在当前目录下生成索引文件就可以开始阅读了,当然最好是也装个taglist插件,这样就可以打开函数列表了。
附件里带有color文件,把它放在/usr/share/vim/vim70/color下面
然后把vimrc放在当前用户目录下,并改名为.vimrc就可以使用了
打开vim的gui界面后是黑色背景,很酷。
下面是vim的配置:
let Tlist_Show_One_File=1
"set autochdir
set tag=tags
map :cs find c =expand("")
map :cs find d =expand("")
map :cs find f =expand("")
map :cs find g =expand("")
map :cs find i =expand("")
map :cs find s =expand("")
map :cs find t =expand("")
map :TlistToggle
"set cscopequickfix=s-,c-,d-,i-,t-,e-,f-
colo console
set guioptions-=m "Remove menubar
set guioptions-=T "Remove toolbar
set guioptions-=r "Remove v_scroolbar"
set ai
set tabstop=4
set syntax=on
set ff=unix
set number
set autoindent
set nocompatible " Use Vim defaults (much better!)
set bs=indent,eol,start " allow backspacing over everything in insert mode
set viminfo='20,\"50 " read/write a .viminfo file, don't store more
" than 50 lines of registers
set history=50 " keep 50 lines of command line history
set ruler
阅读(863) | 评论(0) | 转发(0) |