From b3c68d2372bbd87c55e592fe19f266cc3638c7e1 Mon Sep 17 00:00:00 2001 From: Tony Duckles Date: Sun, 6 Jan 2013 18:31:42 -0600 Subject: [PATCH] .vimrc: statusline tweaks --- .vimrc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.vimrc b/.vimrc index 39961c4..6a74ac8 100644 --- a/.vimrc +++ b/.vimrc @@ -120,9 +120,8 @@ set list listchars=trail:.,tab:>. " show trailing whitespace and tab chars set statusline=\ %n\ %<%f " buffer #, filename set statusline+=\ %h%m%r " file-state flags set statusline+=%= " left-right divider -set statusline+=[%{strlen(&fenc)?&fenc:&enc},%{&ff}]%y " file-encoding, format, type -set statusline+=\ %11.(\(%b\ 0x%B)%) " selected char ASCII dec+hex -set statusline+=\ \ %12.(%c,%l/%L%)\ \ %-4P " cursor position, viewport percentage +set statusline+=%{strlen(&fenc)?&fenc:&enc},%{&ff}\ %y " file-encoding, format, type +set statusline+=\ %12.(%v,%l/%L%)\ \ %-4P " cursor position, % through file of viewport " ---------------------------------------------------------------------------- " Text Formatting -- 2.45.2