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------ "------COLOR CONFIGS------
hi LineNr ctermbg=NONE hi LineNr ctermbg=NONE
hi LineNr ctermfg=DarkGrey hi LineNr ctermfg=blue
"------/COLOR CONFIGS----- "------/COLOR CONFIGS-----
"------STATUS LINE------- "------STATUS LINE-------
set noshowmode function Themeit()
set noruler set noshowmode
set laststatus=2 set noruler
set statusline= set laststatus=2
set statusline=[%t] " full filename set statusline=
set statusline+=[%{''.(&fenc!=''?&fenc:&enc).''}] " Encoding set statusline=[%t] " full filename
set statusline+=%= " right align set statusline+=[%{''.(&fenc!=''?&fenc:&enc).''}] " Encoding
set statusline+=%14.([%l:%c%V]%) " line and column set statusline+=%= " right align
set statusline+=[%P\] " percentage of file set statusline+=%14.([%l:%c%V]%) " line and column
"set statusline+=\ " spaces set statusline+=[%P\] " percentage of file
set statusline+=[%{strftime('%H:%M')}] " time "set statusline+=\ " spaces
set statusline+=[%{strftime('%H:%M')}] " time
endfunction
" now this only runs when we call 'themeblastr'
command Themeblastr exec Themeit()
"------/STATUS LINE------ "------/STATUS LINE------

Loading…
Cancel
Save