From 976f75b5442f919820b94cc241e6c64f2c017dfd Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Mon, 26 Aug 2013 19:34:45 +0200 Subject: [PATCH] move viminfo to ~/.vim --- vim/.gitignore | 1 + vimrc | 2 ++ 2 files changed, 3 insertions(+) diff --git a/vim/.gitignore b/vim/.gitignore index cf617c3..2e92be5 100644 --- a/vim/.gitignore +++ b/vim/.gitignore @@ -1,2 +1,3 @@ .netrwhist view +viminfo diff --git a/vimrc b/vimrc index 4c3b382..99d28ba 100644 --- 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") -- 2.48.1