From 198a750c945cd723a7655ce9ce1bdfdc3c4f251e Mon Sep 17 00:00:00 2001 From: Matthew Faltys Date: Mon, 19 Oct 2015 18:42:30 -0500 Subject: [PATCH] adding custom statusline support --- vimrc | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/vimrc b/vimrc index 73cd5d4..a716a3e 100644 --- a/vimrc +++ b/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------