Skip to content

Commit

Permalink
chore: Change backup and undo dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
mglodack committed Mar 15, 2020
1 parent 481cd8e commit 0e9e613
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/nvim/init.vim
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ let $FZF_DEFAULT_COMMAND = 'ag -l -g ""'
map <C-p> :Files<CR>
" File behavior
let &backupdir = $HOME . "/.vim/backups"
let &undodir = $HOME . "/vim/undofiles"
let &backupdir = $HOME . "/.nvim/backups"
let &undodir = $HOME . "/.nvim/undofiles"

function! EnsureDirExists(dir)
if !isdirectory(a:dir)
Expand Down

0 comments on commit 0e9e613

Please sign in to comment.