]> git.rmz.io Git - dotfiles.git/commitdiff
move viminfo to ~/.vim
authorSamir Benmendil <samir.benmendil@gmail.com>
Mon, 26 Aug 2013 17:34:45 +0000 (19:34 +0200)
committerSamir Benmendil <samir.benmendil@gmail.com>
Mon, 26 Aug 2013 17:34:45 +0000 (19:34 +0200)
vim/.gitignore
vimrc

index cf617c34a3a66e56866727a9a4d89c0fcd798c4e..2e92be5c20850962e94cca3a9f2428c960b86246 100644 (file)
@@ -1,2 +1,3 @@
 .netrwhist
 view
+viminfo
diff --git a/vimrc b/vimrc
index 4c3b382dfeeb133073707adcae8378143dd1b96f..99d28bada96f6e10eae9ce705ac61cb8cf3220a1 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -32,6 +32,8 @@ set ruler               " show the cursor position all the time
 set showcmd             " display incomplete commands
 set incsearch           " do incremental searching
 set number              " show some linenumbers
+" viminfo defaults but save file in .vim
+set viminfo='100,<50,s10,h,n~/.vim/viminfo
 
 " For Win32 GUI: remove 't' flag from 'guioptions': no tearoff menu entries
 " let &guioptions = substitute(&guioptions, "t", "", "g")