vimrc更新

This commit is contained in:
taynpg 2024-07-15 13:33:45 +08:00
parent ce7327a6c9
commit d027717fc9

View File

@ -4,8 +4,8 @@ syntax enable
filetype on
set vb t_vb=
colorscheme gruvbox
" set background=light
set background=dark
set background=light
"set background=dark
set incsearch
set backspace=2
set shiftwidth=4
@ -32,7 +32,7 @@ if has("gui_running")
endif
if(has("win32") || has("win64") || has("win95") || has("win16"))
set guifont=FiraCode\ Nerd\ Font\ Mono:h12
set guifont=Courier\ New:h11
endif
:nnoremap <Leader>s :wa<CR>
@ -76,4 +76,4 @@ endif
" %= “对齐方向改变的分界点
" %- ”对齐方向改变为右对齐
set statusline=[%Y]\%{\"[\".(&fenc==\"\"?&enc:&fenc).((exists(\"+bomb\")\ &&\ &bomb)?\"+\":\"\").\"]\"}\[%{&ff}]\[%03.3b]\[%02.2B]\[%04l,%04v][%p%%]\[%L]\ %=【%{strftime(\"%d/%m/%y\ -\ %H:%M\")}\】%=%F%m%r%h%w
set statusline=[%Y]\%{\"[\".(&fenc==\"\"?&enc:&fenc).((exists(\"+bomb\")\ &&\ &bomb)?\"+\":\"\").\"]\"}\[%{&ff}]\[ASCII:%03.3b]\[0x%02.2B]\[%04l,%04v][%p%%]\[All:%L]\ %=【%{strftime(\"%d/%m/%y\ -\ %H:%M\")}\】%=%F%m%r%h%w