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 " 不要闪烁(不明⽩)
好课件官网t 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
endif
" 设置配⾊⽅案
天生购物狂
"colorscheme murphy
"字体
"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
nnoremap <C-k> <C-W>k
性感手机壁纸
nnoremap <C-l> <C-W>l
inoremap <C-h> <Esc><C-W>h
奇迹世界sun
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")