Browse Source

adding custom statusline support

master
Matthew Faltys 9 years ago
parent
commit
198a750c94
  1. 20
      vimrc

20
vimrc

@ -16,7 +16,6 @@ filetype plugin indent on
"------/VUNDLE CONFIGS-----
"------NORMAL CONFIGS------
colorscheme cottonmouse
"colorscheme jellybeans
@ -30,9 +29,24 @@ set number
hi LineNr ctermbg=NONE
hi LineNr ctermfg=DarkGrey
"------/NORMAL CONFIGS-----
"
"
"------COLOR CONFIGS------
hi LineNr ctermbg=NONE
hi LineNr ctermfg=DarkGrey
"------/COLOR CONFIGS-----
"------STATUS LINE-------
set noshowmode
set noruler
set laststatus=2
set statusline=
set statusline=[%t] " full filename
set statusline+=[%{''.(&fenc!=''?&fenc:&enc).''}] " Encoding
set statusline+=%= " right align
set statusline+=%14.([%l:%c%V]%) " line and column
set statusline+=[%P\] " percentage of file
"set statusline+=\ " spaces
set statusline+=[%{strftime('%H:%M')}] " time
"------/STATUS LINE------

Loading…
Cancel
Save