Browse Source

Add some configuration settings for Gundo vim plugin

Emmanuel Bouthenot 12 years ago
parent
commit
c5c7cd9945
1 changed files with 22 additions and 0 deletions
  1. 22 0
      .vim/vimrc

+ 22 - 0
.vim/vimrc

@@ -280,3 +280,25 @@ if filereadable($HOME . "/.vim/bundle/pathogen/autoload/pathogen.vim")
     source ~/.vim/bundle/pathogen/autoload/pathogen.vim
     call pathogen#infect()
 endif
+
+
+"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
+" Gundo Setup
+"
+"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
+
+" Gundo sidebar on the right
+let g:gundo_right = 1
+" Gundo layout
+let g:gundo_width = 60
+let g:gundo_preview_height = 40
+" Gundo status lines
+let g:gundo_tree_statusline = "Gundo"
+let g:gundo_preview_statusline = "Gundo Preview"
+" Preview pane below the buffer
+let g:gundo_preview_bottom = 1
+" Close Gundo panes on revert
+let g:gundo_close_on_revert = 1
+
+" F3 key to show/hide Gundo sidebar
+nnoremap <F3> :GundoToggle<CR>