From: Samir Benmendil Date: Mon, 26 Aug 2013 17:34:45 +0000 (+0200) Subject: move viminfo to ~/.vim X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/976f75b5442f919820b94cc241e6c64f2c017dfd move viminfo to ~/.vim --- 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")