Browse Source

functionized new themes

master
Matthew Faltys 9 years ago
parent
commit
335362eeae
  1. 28
      vimrc

28
vimrc

@ -33,20 +33,24 @@ hi LineNr ctermfg=DarkGrey
"------COLOR CONFIGS------
hi LineNr ctermbg=NONE
hi LineNr ctermfg=DarkGrey
hi LineNr ctermfg=blue
"------/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
function Themeit()
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
endfunction
" now this only runs when we call 'themeblastr'
command Themeblastr exec Themeit()
"------/STATUS LINE------

Loading…
Cancel
Save