Skip to content

Instantly share code, notes, and snippets.

@evanslai
Created November 27, 2018 10:33
Show Gist options
  • Save evanslai/580d135e0beccb05111f746adff0d3f0 to your computer and use it in GitHub Desktop.
Save evanslai/580d135e0beccb05111f746adff0d3f0 to your computer and use it in GitHub Desktop.
vimrc
"https://github.com/amix/vimrc
set runtimepath+=~/.vim_runtime
source ~/.vim_runtime/vimrcs/basic.vim
source ~/.vim_runtime/vimrcs/filetypes.vim
source ~/.vim_runtime/vimrcs/plugins_config.vim
source ~/.vim_runtime/vimrcs/extended.vim
try
source ~/.vim_runtime/my_configs.vim
catch
endtry
"taglist setting
let Tlist_Show_One_File = 1
let Tlist_Exit_OnlyWindow = 1
let Tlist_Use_Right_Window = 1
"Others
let g:go_version_warning = 0
set fileencodings=utf8,cp936,gb18030,big5
if has("cscope") && filereadable("/usr/bin/cscope")
set csprg=/usr/bin/cscope
set csto=0
set cst
set nocsverb
" add any database in current directory
if filereadable("cscope.out")
cs add $PWD/cscope.out
" else add database pointed to by environment
elseif $CSCOPE_DB != ""
cs add $CSCOPE_DB
endif
set csverb
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment