diff options
| author | Teddy Wing | 2019-06-03 21:20:19 +0200 | 
|---|---|---|
| committer | Teddy Wing | 2019-06-03 21:20:19 +0200 | 
| commit | 7d7c2b7e47f836c7e1be3ba63a6b5a6533e87c78 (patch) | |
| tree | 69e1003d2643bee750deaf1f5a3f79d2f109212e | |
| parent | 7364a7ebdd25e8aa0893cfe15adfab5f81e937d4 (diff) | |
| download | dotvim-7d7c2b7e47f836c7e1be3ba63a6b5a6533e87c78.tar.bz2 | |
vimrc: Focus Undotree window when toggled
Match Gundo's behaviour.
| -rw-r--r-- | vimrc | 3 | 
1 files changed, 3 insertions, 0 deletions
| @@ -421,6 +421,7 @@  "  "   2019.06.03:  "       * Use Gundo when -python3 and Undotree when +python3. +"       * Focus Undotree window when toggled.  " @@ -612,6 +613,8 @@ endif  if has('python3')  	let loaded_gundo = 1 +	let g:undotree_SetFocusWhenToggle = 1 +  	nnoremap <leader>gu :UndotreeToggle<cr>  else  	let g:loaded_undotree = 1 | 
