summaryrefslogtreecommitdiffstats
path: root/.config/vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.config/vim/vimrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/.config/vim/vimrc b/.config/vim/vimrc
new file mode 100644
index 0000000..445d015
--- /dev/null
+++ b/.config/vim/vimrc
@@ -0,0 +1,6 @@
+set undodir=$XDG_DATA_HOME/vim/undo
+set directory=$XDG_DATA_HOME/vim/swap
+set backupdir=$XDG_DATA_HOME/vim/backup
+set viewdir=$XDG_DATA_HOME/vim/view
+set viminfo+='1000,n$XDG_DATA_HOME/vim/viminfo
+set runtimepath=$XDG_CONFIG_HOME/vim,$VIMRUNTIME,$XDG_CONFIG_HOME/vim/after