|
@@ -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>
|