From 3e4a0e50e2551816ebb3a8d3e3619eb2bb0834bb Mon Sep 17 00:00:00 2001 From: Chris Toomey Date: Sat, 26 Jan 2013 13:07:03 -0500 Subject: [PATCH] Change default to not clear on resize --- doc/vim-tmux-runner.txt | 8 +++++--- plugin/vim-tmux-runner.vim | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) 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")