aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Overbruck <overbruck@mir.de>2014-10-06 15:11:02 +0200
committerDuncan Overbruck <overbruck@mir.de>2014-10-06 15:11:02 +0200
commit6f5a66db68667f3a455b90682e2ade8f12bdfeee (patch)
treef6741943da6fb306890b0d089387222ae2a6b0d4
parent68adca2903cd3384d48c464528de0bf732a67261 (diff)
downloaddotfiles-6f5a66db68667f3a455b90682e2ade8f12bdfeee.tar.gz
add directories and remove visualbell
-rw-r--r--vimrc7
1 files changed, 6 insertions, 1 deletions
diff --git a/vimrc b/vimrc
index aa2f8dc..6c10bdd 100644
--- a/vimrc
+++ b/vimrc
@@ -57,7 +57,7 @@ let maplocalleader = ','
set number
set smartindent
set lazyredraw
-set visualbell
+" set visualbell
set timeoutlen=500
set whichwrap=b,s
set hlsearch
@@ -80,6 +80,11 @@ set history=1000 " Store a ton of history (default is 20)
set cursorline " Highlight current line
set virtualedit=onemore " Allow for cursor beyond last character
+" Directories
+set undodir=~/.vim/undo//
+set backupdir=~/.vim/backup//
+set directory=~/.vim/swp//
+
" Clipboard
if has('clipboard')
if has('unnamedplus') " When possible use + register for copy-paste