summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorself <george@gabbott.dev>2022-12-25 22:59:32 +0000
committerself <george@gabbott.dev>2022-12-25 22:59:32 +0000
commit2366b4432b3e3ec0c64df3f7f1b56b95354cfc1c (patch)
treeb997e56c8dc6310599b8743fabb5e227ee212873
parentf69d6d0f7382cc63d1951859f5b06f0c0ced2e53 (diff)
set autochdir
-rwxr-xr-xinit.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.vim b/init.vim
index 90405c4..ff653a7 100755
--- a/init.vim
+++ b/init.vim
@@ -21,6 +21,7 @@ filetype plugin on
set ttyfast " Speed up scrolling in Vim
set cursorline
set termguicolors " Themes don't seem to work without this.
+set autochdir
" set backupdir=~/.cache/vim " Directory to store backup files.
let mapleader=','