aboutsummaryrefslogtreecommitdiff
path: root/vim/after/plugin/gundo.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/after/plugin/gundo.vim')
-rw-r--r--vim/after/plugin/gundo.vim8
1 files changed, 8 insertions, 0 deletions
diff --git a/vim/after/plugin/gundo.vim b/vim/after/plugin/gundo.vim
new file mode 100644
index 00000000..77d62a4d
--- /dev/null
+++ b/vim/after/plugin/gundo.vim
@@ -0,0 +1,8 @@
+" Only run this is function available
+if !exists(':GundoToggle')
+ finish
+endif
+
+" Gundo key binding
+nnoremap <silent> <leader>g :<C-U>:GundoToggle<CR>
+