summaryrefslogtreecommitdiff
path: root/vim/.vim
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2018-02-01 09:43:23 +0000
committerUrbain Vaes <urbain@vaes.uk>2018-02-21 15:34:26 +0000
commitfb723a11e4649f13e3ec5c1f678e96ee23caeb35 (patch)
treeddf556af9508d62d3a191484106e31db78eee9fc /vim/.vim
parent83ea812c294822c494d88a23a820eb5ece5f7561 (diff)
[vim] Enable backups and swapfiles
Diffstat (limited to 'vim/.vim')
-rw-r--r--vim/.vim/.gitignore7
-rw-r--r--vim/.vim/backup/.gitkeep0
-rw-r--r--vim/.vim/swap/.gitkeep0
-rw-r--r--vim/.vim/undo/.gitkeep0
4 files changed, 6 insertions, 1 deletions
diff --git a/vim/.vim/.gitignore b/vim/.vim/.gitignore
index 58ba36e..d6e21cd 100644
--- a/vim/.vim/.gitignore
+++ b/vim/.vim/.gitignore
@@ -2,4 +2,9 @@
.netrwhist
plugged
view
-vimundo
+
+backup/*
+swap/*
+undo/*
+
+!*.gitkeep
diff --git a/vim/.vim/backup/.gitkeep b/vim/.vim/backup/.gitkeep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/vim/.vim/backup/.gitkeep
diff --git a/vim/.vim/swap/.gitkeep b/vim/.vim/swap/.gitkeep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/vim/.vim/swap/.gitkeep
diff --git a/vim/.vim/undo/.gitkeep b/vim/.vim/undo/.gitkeep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/vim/.vim/undo/.gitkeep