aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-10-13 18:59:39 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-10-13 18:59:39 -0300
commitb154ff5d4c887edd7f349e4d7afcd8b6f49cb04b (patch)
tree523266ebdb542a8d2b793b13202a44becb9395af
parentb18f596c74d8105aa4a19187873c98f14258e6f1 (diff)
downloadvim-b154ff5d4c887edd7f349e4d7afcd8b6f49cb04b.tar.gz
vim-b154ff5d4c887edd7f349e4d7afcd8b6f49cb04b.tar.bz2
Adds vim-auto-save and drops TODO
-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