aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
" ========