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:
Andrew Tomaka 2017-10-18 00:00:57 -04:00
parent 3398d0d657
commit 4f005ab7e2
No known key found for this signature in database
GPG key ID: C78D1A81582BAC86

8
vimrc
View file

@ -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