summaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-10-27 17:38:54 -0400
committerJesse Luehrs <doy@tozt.net>2013-10-27 18:16:15 -0400
commit911c25f9ff8d750e4ee952c96a1cb670faa4585f (patch)
tree43d2b21b1bf29c4fdb34f87bb2e070ba50b28da5 /vimrc
parent506dfa00da0ff2bd3ad09a389f29a263a86dc0c7 (diff)
downloadconf-911c25f9ff8d750e4ee952c96a1cb670faa4585f.tar.gz
conf-911c25f9ff8d750e4ee952c96a1cb670faa4585f.zip
hide messages from creating the gundo buffers
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc5
1 files changed, 4 insertions, 1 deletions
diff --git a/vimrc b/vimrc
index 39331f8..ef4f569 100644
--- a/vimrc
+++ b/vimrc
@@ -648,7 +648,10 @@ let g:Foldtext_perl_enable = 1
" }}}
" gundo {{{
if has("python")
- nnoremap <silent>U :GundoToggle<CR>
+ function! s:gundo()
+ GundoToggle
+ endfunction
+ nnoremap <silent>U :silent call <SID>gundo()<CR>
let g:gundo_help = 0
let g:gundo_preview_bottom = 1
let g:gundo_width = 30