From 335362eeae43885e28d9dec5229541a913c5aba8 Mon Sep 17 00:00:00 2001 From: Matthew Faltys Date: Tue, 20 Oct 2015 01:31:44 -0500 Subject: [PATCH] functionized new themes --- vimrc | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/vimrc b/vimrc index a716a3e..1f57f37 100644 --- a/vimrc +++ b/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------