aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitmodules3
-rw-r--r--TODO.md6
m---------vim.dot.link/bundle/vim-auto-save0
-rw-r--r--vimrc.dot.link4
4 files changed, 7 insertions, 6 deletions
diff --git a/.gitmodules b/.gitmodules
index f94074a..c1fd3e9 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -58,3 +58,6 @@
[submodule "vim.dot.link/bundle/vim-session"]
path = vim.dot.link/bundle/vim-session
url = https://github.com/xolox/vim-session
+[submodule "vim.dot.link/bundle/vim-auto-save"]
+ path = vim.dot.link/bundle/vim-auto-save
+ url = https://github.com/vim-scripts/vim-auto-save
diff --git a/TODO.md b/TODO.md
deleted file mode 100644
index 5eaf320..0000000
--- a/TODO.md
+++ /dev/null
@@ -1,6 +0,0 @@
-TODO
-====
-
-* Fix autoread.
-* Consider https://github.com/vim-scripts/vim-auto-save
-* Consider https://github.com/tpope/vim-obsession
diff --git a/vim.dot.link/bundle/vim-auto-save b/vim.dot.link/bundle/vim-auto-save
new file mode 160000
+Subproject 1685175183d160879ebcf231cd4c96b1b8a5a5c
diff --git a/vimrc.dot.link b/vimrc.dot.link
index 7815c7f..8a96f64 100644
--- a/vimrc.dot.link
+++ b/vimrc.dot.link
@@ -230,3 +230,7 @@ let g:session_autosave_silent=1
let g:session_autosave='yes'
let g:session_autoload='no'
let NERDTreeMinimalUI=1
+
+" Autosave
+" See https://github.com/vim-scripts/vim-auto-save
+let g:auto_save = 1