diff --git a/init.vim b/init.vim index 29052a4..5093a1a 100644 --- a/init.vim +++ b/init.vim @@ -119,14 +119,14 @@ let g:WebDevIconsNerdTreeGitPluginForceVAlign = 1 " BACKUPS ###########################################################{{{ set dir=$HOME/.nvim/swp// -autocmd BufWritePost * :silent execute ':w! ' ."$HOME/.config/nvim/backups/" . substitute(escape(substitute(expand('%:p'), "/", "%", "g"), "%"), ' ', '\\ ', 'g') +autocmd BufWritePost * :silent execute ':w! ' ."$HOME/.nvim/backups/" . substitute(escape(substitute(expand('%:p'), "/", "%", "g"), "%"), ' ', '\\ ', 'g') if exists('+undofile') set undofile set undolevels=1000 set undoreload=10000 if exists('+undodir') - set undodir=$HOME/.config/nvim/undo + set undodir=$HOME/.nvim/undo endif endif " }}} diff --git a/zsh/bin/vim-recover b/zsh/bin/vim-recover index 63fc3ac..b57c260 100755 --- a/zsh/bin/vim-recover +++ b/zsh/bin/vim-recover @@ -6,7 +6,7 @@ if [ -f $1 ]; then return 1 fi -backup_path=~/.config/nvim/backups/`echo $PWD/$1 | tr '/' '%'` +backup_path=~/.nvim/backups/`echo $PWD/$1 | tr '/' '%'` if [ ! -f "$backup_path" ]; then echo >&2 Backup not found...