autocmd InrtLeave * nocul " ⽤浅⾊⾼亮当前⾏
autocmd InrtEnter * cul " ⽤浅⾊⾼亮当前⾏
"t ruler " 显⽰标尺
t showcmd " 输⼊的命令显⽰出来,看的清楚些
"t cmdheight=1 " 命令⾏(在状态⾏下)的⾼度,设置为1
"t whichwrap+=<,>,h,l " 允许backspace和光标键跨越⾏边界(不建议)
"t scrolloff=3 " 光标移动到buffer的顶部和底部时保持3⾏距离
t novisualbell " 不要闪烁(不明⽩)
soapoperat statusline=%F%m%r%h%w\ [FORMAT=%{&ff}]\ [TYPE=%Y]\ [POS=%l,%v][%p%%]\ %{strftime(\"%d/%m/%y\ -\ %H:%M\")} "状态⾏显⽰的内容 t laststatus=1 " 启动显⽰状态⾏(1),总是显⽰状态⾏(2)
" t foldenable " 允许折叠
t foldmethod=manual " ⼿动折叠
"t background=dark "背景使⽤⿊⾊
t nocompatible "去掉有关vi⼀致性模式,避免以前版本的⼀些bug和局限
" 显⽰中⽂帮助
if version >= 603
t helplang=cn
托福考试报名网站t encoding=utf-8英语单词学习>grassroots
endif
" 设置配⾊⽅案
"colorscheme murphynext是什么意思
"字体
"if (has("gui_running"))
" t guifont=Bitstream\ Vera\ Sans\ Mono\ 10
"endif "培训教育
t fencs=utf-8,ucs-bom,shift-jis,gb18030,gbk,gb2312,cp936
t termencoding=utf-8
t encoding=utf-8
t fileencodings=ucs-bom,utf-8,cp936
t fileencoding=utf-8
autocmd BufReadPost *
\ if line("'\"") > 0 && line("'\"") <= line("$") |
\ exe "normal g'\"" |
\ endif
" SHORTCUT SETTINGS: {{{1
" Set mapleader
let mapleader=","
" Space to command mode.
nnoremap <space> :
vnoremap <space> :
" Switching between buffers.
nnoremap <C-h> <C-W>h
nnoremap <C-j> <C-W>j
uptting
nnoremap <C-k> <C-W>k
nnoremap <C-l> <C-W>l
inoremap <C-h> <Esc><C-W>h
inoremap <C-j> <Esc><C-W>j
inoremap <C-k> <Esc><C-W>k
inoremap <C-l> <Esc><C-W>l
" "cd" to change to open directory.赫尔辛基大学>汉堡包用英语怎么说
let OpenDir=system("pwd")
nmap <silent> <leader>cd :exe 'cd ' . OpenDir<cr>:pwd<cr>
" PLUGIN SETTINGS: {{{1
" taglist.vim
let g:Tlist_Auto_Update=1
let g:Tlist_Process_File_Always=1
let g:Tlist_Exit_OnlyWindow=1
let g:Tlist_Show_One_File=1
广州成人教育let g:Tlist_WinWidth=25
let g:Tlist_Enable_Fold_Column=0
let g:Tlist_Auto_Highlight_Tag=1
" NERDTree.vim
let g:NERDTreeWinPos="right"
let g:NERDTreeWinSize=25
let g:NERDTreeShowLineNumbers=1
let g:NERDTreeQuitOnOpen=1
" cscope.vim
if has("cscope")
t csto=1
t cst
t nocsverb
if filereadable("cscope.out")