set encoding=gbk
set fileencoding=gbk
set fileencodings=gbk,utf8,gb2312,ucs-bom,latin1
set nocompatible
let Tlist_Show_One_File=1
let Tlist_OnlyWindow=1
let Tlist_Use_Right_Window=1
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=30
let Tlist_Use_Horiz_Window=0
nmap <F9> :Tlist<CR>
imap <F9> <C-O>:Tlist<CR>
let g:winManagerWindowLayout = "FileExplorer"
"let g:winManagerWindowLayout = "TagList|FileExplorer"
let g:winManagerWidth = 30
nmap <silent> <F8> :WMToggle<cr>
map <silent> <F12> :<Esc><Esc>:!ctags -R --c++-kinds=+p --fields=+iaS --extra=+q .<CR>
imap <silent> <F12> :<Esc><Esc>:!ctags -R --c++-kinds=+p --fields=+iaS --extra=+q .<CR>
set guioptions-=L "把gui左边的滑动条去掉
"set guioptions-=r " 把gui右边的滑动条去掉
"set guioptions-=m " 把gui的菜单栏去掉
autocmd GUIEnter * simalt ~x "windows下启动vim最大化
set showmatch " 显示括号配对情况
set history=50 " keep 50 lines of command history
set tabstop=4 " 设定tab长度为4
set softtabstop=4
set shiftwidth=4 " 缩进的空格数
set noexpandtab
set autoindent " 自动缩进
set smartindent
set cindent
set nu
colo desert
"colo elflord
set nobackup
set noswapfile
set nocompatible
syntax on
"python
filetype plugin on
let g:pydiction_location = 'D://Program Files//Vim//vimfiles//ftplugin//pydiction//complete-dict'
let g:pydiction_menu_height = 20
set fileencoding=gbk
set fileencodings=gbk,utf8,gb2312,ucs-bom,latin1
set nocompatible
let Tlist_Show_One_File=1
let Tlist_OnlyWindow=1
let Tlist_Use_Right_Window=1
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=30
let Tlist_Use_Horiz_Window=0
nmap <F9> :Tlist<CR>
imap <F9> <C-O>:Tlist<CR>
let g:winManagerWindowLayout = "FileExplorer"
"let g:winManagerWindowLayout = "TagList|FileExplorer"
let g:winManagerWidth = 30
nmap <silent> <F8> :WMToggle<cr>
map <silent> <F12> :<Esc><Esc>:!ctags -R --c++-kinds=+p --fields=+iaS --extra=+q .<CR>
imap <silent> <F12> :<Esc><Esc>:!ctags -R --c++-kinds=+p --fields=+iaS --extra=+q .<CR>
set guioptions-=L "把gui左边的滑动条去掉
"set guioptions-=r " 把gui右边的滑动条去掉
"set guioptions-=m " 把gui的菜单栏去掉
autocmd GUIEnter * simalt ~x "windows下启动vim最大化
set showmatch " 显示括号配对情况
set history=50 " keep 50 lines of command history
set tabstop=4 " 设定tab长度为4
set softtabstop=4
set shiftwidth=4 " 缩进的空格数
set noexpandtab
set autoindent " 自动缩进
set smartindent
set cindent
set nu
colo desert
"colo elflord
set nobackup
set noswapfile
set nocompatible
syntax on
"python
filetype plugin on
let g:pydiction_location = 'D://Program Files//Vim//vimfiles//ftplugin//pydiction//complete-dict'
let g:pydiction_menu_height = 20
map <F5> :!python.exe %
安装taglist,ctags插件,安装python以及自动提示pydiction插件,so nice!