From 4a12c48e9f8e399242ac7c667306e5536af6272a Mon Sep 17 00:00:00 2001 From: ray Date: Mon, 5 Jul 2021 14:28:37 +0100 Subject: [PATCH] update temporary/undo directory locations --- .gitignore | 1 + init.vim | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 70cf9de..a1c6b4b 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ autoload/ undodir/* .vimtmp/* view/* +tmpdir diff --git a/init.vim b/init.vim index 8b43e3c..3c2f644 100644 --- a/init.vim +++ b/init.vim @@ -228,9 +228,9 @@ set tags=./.tags,.tags,./tags-external,.tags-external;/home/* " persisitent undo file set undofile -set undodir=~/.vim/.vimtmp -set backupdir=~/.vim/.vimtmp -set directory=~/.vim/.vimtmp +set undodir=~/.config/nvim/undodir +set backupdir=~/nvim/tmpdir +set directory=~/nvim/tmpdir set viewoptions-=options