2012年11月8日 星期四

simple .vimrc

~/.vimrc.html
 1 set number
 2 set showcmd
 3 set showmatch
 4 set hlsearch
 5 set incsearch
 6 syntax on
 7 filetype indent on
 8 filetype plugin on "~/.vim/syntax "omni-complete ~/.vim/autoload ^x^n
 9 colors koehler
10 set sw=2
11 set ts=2
12 set smarttab
13 set sidescroll=1
14 set guifont=Inconsolata\ Medium\ 16
15 set guifontwide=YaHei\ Mono\ 16
16 set laststatus=2
17 set statusline=%F%m%r%h%w\ [%{&ff}]\ [%Y]\ [%{(&fenc==\"\")?&enc:&fenc}%{(&bomb?\",BOM\":\"\")}]\ [ASCII=\%03.3b]\ [HEX=\%02.2B]\ [POS=%04l,%04v][%p%%]\ [LEN=%L]\ %=[%{GitBranch()}]
18 set backspace=2
19 set clipboard=unnamed
20 set autoindent
21 set smartindent
22 set cindent
23 "set spell
24 set encoding=utf-8
25 set tags=java.tags,c.tags
26 set makeprg=
27 set smartcase
28 set ruler
29 set cursorline
30 "set cursorcolumn
31 set fileencodings=ucs-bom,utf-8,big5,euc-jp,cp936,gb18030,euc-kr,latin1
32 autocmd BufNewFile,BufRead *.mip :set syntax=mips
33 autocmd BufNewFile,BufRead *.S :set syntax=mips
34 set langmenu=zh_TW.UTF-8
35 source $VIMRUNTIME/delmenu.vim
36 source $VIMRUNTIME/menu.vim
37 language messages zh_TW.utf-8
38 
39 let g:LargeFile=10
40 "let g:p4ClientRoot = 'd:/workspace/'
41 "let g:p4EnableActiveStatus = 0
42 "let g:p4Presets = 'P4CONFIG'
43 "let g:p4DefaultPreset = 0
44 "let loaded_perforce = 1
45 "let Grep_Path='c:/GnuWin32/bin/grep.exe'
46 "let Grep_Find_Path='c:/GnuWin32/bin/find.exe'
47 "let Grep_Xargs_Path='c:/GnuWin32/bin/xargs.exe'
48 "let Grep_Skip_Files = '*.bak *~ *.cscope *.tags *.o'
49 "let VCSCommandSVNDiffExt='C:/"Program Files"/KDiff3/kdiff3.exe'
50 cs a java.cscope . -C
51 cs a c.cscope . -C
52 "let g:EclimTaglistEnabled=0
53 set csto=1 " this flag decides the order of ctags and cscope
54 set csprg=gtags-cscope " use fake cscope
55 cs a GTAGS . -C
-->

沒有留言:

張貼留言