From 6c82a1ef785f1d3ad8b31f20eb33d11ecccf4e8e Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Fri, 23 Dec 2005 11:08:17 +0000 Subject: [PATCH] Gap between left- and right-aligned status line elements, so they don't squish together when the filename is too long for the window. git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@15 6be0d1a5-5cfe-0310-89b6-964be062b18b --- .vimrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.vimrc b/.vimrc index fc11a9b..d4376a0 100755 --- a/.vimrc +++ b/.vimrc @@ -65,9 +65,9 @@ fun Cycle_StatusLine() call Iain_Vars() let b:iainhex = ! b:iainhex if b:iainhex - set statusline=%2n\:\ %<%f\ [%{Show_List()}][%{Show_Case()}]%y%m%r%=0\x%02B\ (%3.6c,%-4.6l)\ 0\x%04.6O\ \|\ %4.6L\ %P + set statusline=%2n\:\ %<%f\ [%{Show_List()}][%{Show_Case()}]%y%m%r%\ =0\x%02B\ (%3.6c,%-4.6l)\ 0\x%04.6O\ \|\ %4.6L\ %P else - set statusline=%2n\:\ %<%f\ [%{Show_List()}][%{Show_Case()}]%y%m%r%=%b\ (%3.6c,%-4.6l)\ %4.6o\ \|\ %4.6L\ %P + set statusline=%2n\:\ %<%f\ [%{Show_List()}][%{Show_Case()}]%y%m%r%\ =%b\ (%3.6c,%-4.6l)\ %4.6o\ \|\ %4.6L\ %P endif endfun -- 2.20.1