right hand vim status bar
This commit is contained in:
parent
c8064a4971
commit
a0392fdd8a
1 changed files with 8 additions and 0 deletions
|
|
@ -80,6 +80,14 @@ set statusline+=%#identifier#
|
||||||
set statusline+=%m
|
set statusline+=%m
|
||||||
set statusline+=%*
|
set statusline+=%*
|
||||||
set statusline+=%{StatuslineTrailingSpaceWarning()}
|
set statusline+=%{StatuslineTrailingSpaceWarning()}
|
||||||
|
|
||||||
|
set statusline+=%= "left/right separator
|
||||||
|
set statusline+=%c, "cursor column
|
||||||
|
set statusline+=%l/%L "cursor line/total lines
|
||||||
|
set statusline+=\ %P "percent through file
|
||||||
|
set laststatus=2
|
||||||
|
|
||||||
|
|
||||||
"recalculate the trailing whitespace warning when idle, and after saving
|
"recalculate the trailing whitespace warning when idle, and after saving
|
||||||
autocmd cursorhold,bufwritepost * unlet! b:statusline_trailing_space_warning
|
autocmd cursorhold,bufwritepost * unlet! b:statusline_trailing_space_warning
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue