Update 2024-01-31 14:10 OpenBSD/amd64-dalek
This commit is contained in:
parent
3f999f0902
commit
9272ec1b32
24
.vim/vimrc
24
.vim/vimrc
@ -54,6 +54,30 @@ set list
|
||||
set listchars=tab:>_,trail:>
|
||||
set fillchars=vert:\|,eob:\
|
||||
|
||||
set showcmd
|
||||
|
||||
let g:currentmode={
|
||||
\ 'n' : 'NORMAL',
|
||||
\ 'v' : 'VISUAL',
|
||||
\ 'V' : 'V·Line',
|
||||
\ '^V' : 'V·Block',
|
||||
\ 'i' : 'INSERT',
|
||||
\ 'R' : 'R',
|
||||
\ 'Rv' : 'V·Replace',
|
||||
\ 'c' : 'Command',
|
||||
\}
|
||||
|
||||
set statusline=[%{toupper(g:currentmode[mode()])}]
|
||||
set statusline+=\ [%f]
|
||||
set statusline+=%m%r%h%w%q
|
||||
set statusline+=%=
|
||||
set statusline+=\ [BUF:%n]
|
||||
set statusline+=\ [%{&fileencoding?&fileencoding:&encoding}]
|
||||
set statusline+=\ [%{&fileformat}]
|
||||
set statusline+=\ [CHAR:%b/0x%B]
|
||||
set statusline+=\ [ROW:%l\ COL:%c]
|
||||
set statusline+=\ [%p%%]
|
||||
|
||||
" " autocomplete
|
||||
" set wildmenu
|
||||
" set wildmode=longest:full,full
|
||||
|
Loading…
Reference in New Issue
Block a user