gvim配置文件参考

 set nu!
 set autoindent
set cindent

     colorscheme desert
     syntax enable
     syntax on
set tags=tags;   
set autochdir
let Tlist_Ctags_Cmd='ctags.exe'
let Tlist_Show_One_File=1
let Tlist_OnlyWindow=1
let Tlist_Use_Right_Window=0
let Tlist_Sort_Type='name'
let Tlist_Exit_OnlyWindow=1
let Tlist_Show_Menu=1
let Tlist_Max_Submenu_Items=10
let Tlist_Max_Tag_length=20
let Tlist_Use_SingleClick=0
let Tlist_Auto_Open=0
let Tlist_Close_On_Select=0
let Tlist_File_Fold_Auto_Close=1
let Tlist_GainFocus_On_ToggleOpen=0
let Tlist_Process_File_Always=1
let Tlist_WinHeight=10
let Tlist_WinWidth=18
let Tlist_Use_Horiz_Window=0 
let g:persistentBehaviour=0     
let g:winManagerWidth=20
let g:defaultExplorer=1
nmap <silent> <leader>fir :FirstExplorerWindow<cr>
nmap <silent> <leader>bot :BottomExplorerWindow<cr>
nmap <silent> <leader>wm :WMToggle<cr>
let g:winManagerWindowLayout='FileExplorer|TagList'
set fileencodings=utf-8,chinese,latin-1
 set termencoding=utf-8
 set encoding=utf-8
language messages zh_CN.utf-8
if has("gui_running")
 au GUIEnter * simalt ~x " 窗口启动时自动最大化
 set guioptions-=m " 隐藏菜单栏
 set guioptions-=T " 隐藏工具栏
 set guioptions-=L " 隐藏左侧滚动条
 set guioptions-=r " 隐藏右侧滚动条
 set guioptions-=b " 隐藏底部滚动条
 set showtabline=0 " 隐藏Tab栏




你可能感兴趣的:(vim,配置文件)