Assemble status line in parts
Mostly, this was so I could make sure not to accidently run a :FixWhitespace and remove the trailing space on my status line that keeps the buffer number off the edge
This commit is contained in:
parent
3398d0d657
commit
4f005ab7e2
1 changed files with 7 additions and 1 deletions
8
vimrc
8
vimrc
|
@ -28,7 +28,13 @@ call plug#end()
|
|||
filetype plugin indent on
|
||||
|
||||
" STATUS LINE
|
||||
set statusline=%<\ %f%{ZoomState()}\ %m%r%y%w%=\ Line:\ %l\/%L\ [%p%%]\ Col:\ %c\ Buf:\ #%n\
|
||||
set statusline=
|
||||
set statusline+=%<\ %f%{ZoomState()}
|
||||
set statusline+=\ %m%r%y%w%= " what am i doing here
|
||||
set statusline+=\ Line:\ %l\/%L\ [%p%%]
|
||||
set statusline+=\ Col:\ %c
|
||||
set statusline+=\ Buf:\ #%n
|
||||
set statusline+=\ " trailing space is with purpose
|
||||
|
||||
" OPTIONS
|
||||
set fileformats=unix,mac,dos " File format prefer unix endings
|
||||
|
|
Loading…
Reference in a new issue