aboutsummaryrefslogtreecommitdiffstats
path: root/nvim
diff options
context:
space:
mode:
Diffstat (limited to 'nvim')
-rw-r--r--nvim/init.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/nvim/init.vim b/nvim/init.vim
index 06b8478..354f386 100644
--- a/nvim/init.vim
+++ b/nvim/init.vim
@@ -44,6 +44,7 @@ set showcmd " Show partial command in the last line of the screen
set scrolloff=1 " Minimum number of screen lines under/above the cursor
set linebreak " Don’t wrap lines in the middle of a word
set spelllang=en_us
+set backupdir=$XDG_DATA_HOME/nvim/backup " Don't write backups in current dir
" Use space as a leader
map <space> <Leader>