From 146268c112e7fda808670468b40a7322f04bc148 Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Mon, 19 Nov 2012 14:08:21 -0800 Subject: Adding buffer number to status line. --- base/vimrc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'base') diff --git a/base/vimrc b/base/vimrc index aa25093..85f4f4e 100644 --- a/base/vimrc +++ b/base/vimrc @@ -11,7 +11,6 @@ set history=50 " keep 50 lines of command line history set ignorecase " Do case insensitive matching set smartcase " Ignore case only when doing a lowercase search set incsearch " Incremental search -set laststatus=2 " always have status bar set linebreak " This displays long lines as wrapped at word boundries set matchtime=10 " Time to flash the brack with showmatch set nobackup " Don't keep a backup file @@ -29,6 +28,14 @@ set wildmode=list:longest,full set nomousehide set sessionoptions+=resize,winpos +" Status Line Settings +set laststatus=2 " always have status bar +set statusline= +set statusline+=%n\ +set statusline+=%<%f\ %h%m%r +set statusline+=%= +set statusline+=%-14.(%l,%c%V%)\ %P + " filetypes filetype plugin on filetype indent on -- cgit v1.2.3