dotfiles

configuration files for different softwares
git clone git://z3bra.org/dotfiles
Log | Files | Refs

commit 0133eaea93544c3690d042ad4317ada1849c2f8b
parent 02fd54a42ce6c192fc7a958a28d7227380849a12
Author: Willy Goiffon <w.goiffon@gmail.com>
Date:   Mon Aug  5 14:54:02 2013

cleaned interface. no more statusline

Diffstat:
 vimrc | 28 ++++++++++------------------
 1 file changed, 10 insertions(+), 18 deletions(-)

diff --git a/vimrc b/vimrc @@ -80,12 +80,8 @@ set wildmenu " Files to ignore with it set wildignore=*.o,*~ -" Always show cursor position -set ruler - - " Height of the cmdline window -set cmdheight=2 +set cmdheight=1 " Do not redraw while executing macros set lazyredraw @@ -219,27 +215,23 @@ map <leader>te :tabedit <c-r>=expand("%:p:h")<cr>/ set viminfo^=% " }}} -" > Status line ======================================================= +" > Status line =============================================================== " {{{ -" enable statusline -set laststatus=2 +" disable statusline +set laststatus=0 + +" use ruler instead (less intrusive +set ruler -" statusline itself -set statusline= -set statusline+=%<\ " cut at start -set statusline+=(%n%M%H%R)\ " flags -set statusline+=%-40f\ " path -set statusline+=%=(%Y)\ " file type -set statusline+=(tw:%{&tw}\ ts:%{&ts}\ sw:%{&sw})\ " text format info -set statusline+=%10((%l/%L)%)\ " line and column -set statusline+=%P " percentage of file +" put everything I need in the ruler +set rulerformat=%-50(%=%M%H%R\ %f%<\ (%n)%4(%)%Y:%{&tw}%9(%l,%c%V%)%4(%)%P%) set list set listchars=tab:\|\ ,trail:⋅,nbsp:˽ " }}} -" > Mapping =========================================================== +" > Mapping =================================================================== " {{{ " So that Y behave like C and D