diff --git a/doc/vim-tmux-runner.txt b/doc/vim-tmux-runner.txt index 6ef0c1d..89e59bc 100644 --- a/doc/vim-tmux-runner.txt +++ b/doc/vim-tmux-runner.txt @@ -284,11 +284,13 @@ Default: 0 3.7 g:VtrClearOnResize~ Send the |VtrClearSequence| after resizing the runner via the -|VtrResizeRunner| command. +|VtrResizeRunner| command. This option is turned off by default as +most often a resize is used to better see the content currently in +the runner pane. - let g:VtrClearOnResize = 0 + let g:VtrClearOnResize = 1 -Default: 1 +Default: 0 ------------------------------------------------------------------------------ *VtrClearOnReorient* diff --git a/plugin/vim-tmux-runner.vim b/plugin/vim-tmux-runner.vim index ba111f3..9169448 100644 --- a/plugin/vim-tmux-runner.vim +++ b/plugin/vim-tmux-runner.vim @@ -339,7 +339,7 @@ function! s:InitializeVariables() call s:InitVariable("g:VtrClearBeforeSend", 1) call s:InitVariable("g:VtrPrompt", "Command to run: ") call s:InitVariable("g:VtrUseVtrMaps", 0) - call s:InitVariable("g:VtrClearOnResize", 1) + call s:InitVariable("g:VtrClearOnResize", 0) call s:InitVariable("g:VtrClearOnReorient", 1) call s:InitVariable("g:VtrClearOnReattach", 1) call s:InitVariable("g:VtrDetachedName", "VTR_Pane")