From 3b94e4038214659d8fcc892a5dc885061bef8c55 Mon Sep 17 00:00:00 2001 From: Guillaume DOTT Date: Tue, 22 Oct 2013 17:08:48 +0200 Subject: [PATCH] vim: add some options for horizontal scrolling and other things --- vim/vimrc | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/vim/vimrc b/vim/vimrc index f5926ff..e7b54c2 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -53,6 +53,7 @@ set t_Co=256 set background=dark colorscheme desert +set number set relativenumber set showmode set expandtab @@ -72,17 +73,21 @@ set cmdheight=2 set noerrorbells set mouse=a set nohls -set scrolloff=4 -set sidescrolloff=4 +set scrolloff=5 +set sidescroll=20 +set sidescrolloff=20 set noincsearch set noshowmatch set colorcolumn=80 -set listchars=nbsp:·,tab:>-,extends:>,precedes:< +set winwidth=100 + +set listchars=nbsp:·,tab:▸\ ,extends:>,precedes:< set list -set splitright -set splitbelow +set formatoptions+=j + +set splitright splitbelow set wildmenu set wildmode=longest:full,full