diff --git a/data/vim/init.vim.in b/data/vim/init.vim.in index 87702d6..36d6463 100644 --- a/data/vim/init.vim.in +++ b/data/vim/init.vim.in @@ -4,6 +4,8 @@ set runtimepath^=@vimdir@ set runtimepath+=@vimdir@/after if exists('&viminfofile') set viminfofile=@vimdir@/viminfo +else + set viminfo+=n@vimdir@/viminfo endif set directory^=@vimdir@/swap// set backupdir^=@vimdir@/backup// diff --git a/data/vim/vimrc.in.in b/data/vim/vimrc.in.in index b0d8698..4f54557 100644 --- a/data/vim/vimrc.in.in +++ b/data/vim/vimrc.in.in @@ -1,8 +1,8 @@ " vim: set ft=vim : +source $VIMRUNTIME/vimrc_example.vim source %vimconfdir%/init.vim source %vimconfdir%/map.vim -source $VIMRUNTIME/vimrc_example.vim @VIMRC_CMAKE_FILE@ @VIMRC_YCM_FILE@ source %vimconfdir%/vim-plug.vim