aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2014-05-25 16:02:14 -0400
committerTeddy Wing2014-05-25 16:02:14 -0400
commitb980970a7d6f63da3e6d3553b57af92bd612b24b (patch)
tree8ba5f443a3359932c57b0a84169dfe4eb64664ed
parent2756c39ee73ea878e2475f2c07dd8147b2200187 (diff)
downloaddotvim-b980970a7d6f63da3e6d3553b57af92bd612b24b.tar.bz2
vimrc: add <leader>gu mapping to toggle Gundo
-rw-r--r--vimrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 64b8c18..75c5900 100644
--- a/vimrc
+++ b/vimrc
@@ -153,6 +153,7 @@
" * If in insert mode I press Ctrl-u to delete a line or Ctrl-w to
" delete a word, add those changes to the undo history so that I can
" go back and don't have to remember what I typed if I want to undo.
+" * Add <leader>gu mapping to toggle Gundo
"
@@ -360,6 +361,10 @@ if exists('g:colors_name') && g:colors_name ==# 'twilight256'
endif
+" Gundo
+nnoremap <leader>gu :GundoToggle<cr>
+
+
" Mappings
" ========