From 8ee17b09d10bb8914665fdcdf02745a2fa26cd96 Mon Sep 17 00:00:00 2001 From: Daniel Bayerlein Date: Sun, 15 Sep 2013 17:24:54 +0200 Subject: [PATCH] Support resizing in tmux --- .vimrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.vimrc b/.vimrc index 3b68600..fd14891 100644 --- a/.vimrc +++ b/.vimrc @@ -35,6 +35,9 @@ set clipboard=unnamed " Use the OS clipboard by default set wildmenu " Wild char completion menu set wildmode=list:longest,list:full set mouse=a " Enable mouse in all modes +if exists('$TMUX') + set ttymouse=xterm2 " Support resizing in tmux +endif set autoread " Set to auto read when a file is changed from the outside syntax on " Syntax highlighting