From e746a473a23c220873bcbc536b2c68febc848827 Mon Sep 17 00:00:00 2001 From: Jan-Erik Rediger Date: Wed, 19 May 2010 20:46:48 +0200 Subject: [PATCH] =?UTF-8?q?do=20not=20bell!=20=E2=86=92=20no=20urgency=20h?= =?UTF-8?q?int?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vimrc | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/vimrc b/vimrc index 83ea0ad..2c5c244 100644 --- a/vimrc +++ b/vimrc @@ -9,12 +9,21 @@ set smartcase set ruler " show me where the cursor is set rulerformat=%l/%L(%p%%),%c " a better ruler "set hlsearch +set visualbell +set noerrorbells +set t_vb= set tabstop=4 set softtabstop=4 set shiftwidth=4 set expandtab +" swap file directory +set directory^=~/.vim/swap + +" don't store .viminfo in $HOME +set viminfo+=n~/.vim/viminfo + " enable display of invisible whitespace " by default set list @@ -90,6 +99,8 @@ function! InsertTabWrapper() endfunction inoremap =InsertTabWrapper() +" enable :W +command W w " disable highlights of last search imap map :nohlsearch