summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTharre <tharre3@gmail.com>2015-11-12 14:43:40 +0100
committerTharre <tharre3@gmail.com>2016-10-07 20:13:37 +0000
commit270e11ba7d17ae29177638e7da47e13e0cd7ccff (patch)
treeb699a7b72c5ce300013f5bd5c3bfc2d342d2c44f
parent4ac581327d5cf9ced4ec9519cb98ba14c04391af (diff)
downloaddotfiles-270e11ba7d17ae29177638e7da47e13e0cd7ccff.tar.gz
dotfiles-270e11ba7d17ae29177638e7da47e13e0cd7ccff.tar.xz
dotfiles-270e11ba7d17ae29177638e7da47e13e0cd7ccff.zip
vim: use gundo
-rw-r--r--.gitmodules3
m---------shell/_vim/bundle/gundo.vim0
-rw-r--r--shell/_vimrc3
3 files changed, 6 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules
index 88c5bd8..3c1e5d6 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -43,3 +43,6 @@
[submodule "shell/_vim/bundle/vim-distinguished"]
path = shell/_vim/bundle/vim-distinguished
url = https://github.com/Lokaltog/vim-distinguished.git
+[submodule "shell/_vim/bundle/gundo.vim"]
+ path = shell/_vim/bundle/gundo.vim
+ url = https://github.com/sjl/gundo.vim.git
diff --git a/shell/_vim/bundle/gundo.vim b/shell/_vim/bundle/gundo.vim
new file mode 160000
+Subproject 3975ac871565115e3769dc69c06bc88ddc1369a
diff --git a/shell/_vimrc b/shell/_vimrc
index 1f4696a..dae8150 100644
--- a/shell/_vimrc
+++ b/shell/_vimrc
@@ -96,3 +96,6 @@ au BufNewFile,BufRead *.java set tabstop=4 softtabstop=4 shiftwidth=4 smarttab a
nmap <leader>a :JavaImportOrganize<cr>
nmap <leader>t :ProjectTree<cr>
nmap <leader>o :ProjectOpen<cr>
+
+" toggle gundo
+nnoremap <leader>u :GundoToggle<CR>