tmux: fix resizing issues
authorGreg Hurrell <greg@hurrell.net>
Thu, 8 Jun 2017 01:31:42 +0000 (18:31 -0700)
committerGreg Hurrell <greg@hurrell.net>
Thu, 8 Jun 2017 01:31:42 +0000 (18:31 -0700)
Caused by: https://github.com/tmux/tmux/commit/dbc8cae18cabcd

.tmux

diff --git a/.tmux b/.tmux
index fdc7ee573dc89d85b549ce03192ed05276ff36b5..47725181efbb3bd05dbe448b7216c71e96baddf5 100755 (executable)
--- a/.tmux
+++ b/.tmux
@@ -7,7 +7,7 @@ if tmux has-session -t docvim 2> /dev/null; then
   exit
 fi
 
-tmux new-session -d -s docvim -n vim
+tmux new-session -d -s docvim -n vim  -x $(tput cols) -y $(tput lines)
 
 # 1. Main window: vim.
 tmux send-keys -t docvim:vim "vim -c CommandT" Enter