diff --git a/cvim/.gitignore b/cvim/.gitignore index 394104c..a33ba00 100644 --- a/cvim/.gitignore +++ b/cvim/.gitignore @@ -4,3 +4,4 @@ viminfo colors/ undo/ pack/ +swap/ diff --git a/cvim/vimrc b/cvim/vimrc index 69d8c5b..4949d5b 100644 --- a/cvim/vimrc +++ b/cvim/vimrc @@ -171,6 +171,7 @@ let g:customrtp = expand('~/.config/cvim') let rtp = &runtimepath let &runtimepath = g:customrtp . ',' . rtp . ',' . g:customrtp . '/after' +let &packpath = &runtimepath execute 'set directory=' . g:customrtp . '/swap//,.,~/tmp,/var/tmp,/tmp' execute 'set backupdir=' . g:customrtp . '/backup//,.,~/tmp,~/' execute 'set spellfile=' . g:customrtp . '/spell/en.utf-8.add'