Compare commits

..

No commits in common. "effbc648f8e9084fc7189d9765c9dd0fff52d3a1" and "e59cea924907469f6ec71204371dad64d34d8973" have entirely different histories.

3 changed files with 2 additions and 6 deletions

View File

@ -2,7 +2,7 @@
cols=`tmux display -p "#{pane_width}"`
if [ "$LAYOUT_FULLSCREEN" = "1" ]; then
if [[ $cols -gt 300 ]]; then
tmux split-window -h -l 37% -c '#{pane_current_path}'
tmux select-pane -t 1
else

View File

@ -2,7 +2,7 @@
cols=`tmux display -p "#{pane_width}"`
if [ "$TMUX_LAYOUT_FULLSCREEN" = "1" ]; then
if [[ $cols -gt 300 ]]; then
tmux split-window -h -l 63% -c '#{pane_current_path}'
tmux select-pane -t 1
else

View File

@ -58,10 +58,6 @@ if '[ ! -n $ITERM_PROFILE ]' \
# Enable strikethrough on VTE compatible terminals.
set -ga terminal-overrides 'xterm*:smxx=\E[9m'
# Binding to create window-auto layout
bind a run-shell ~/.local/share/tmux/layouts/window-auto
# TODO: bind A run-shell ~/.local/share/tmux/layouts/window-auto --refresh
# Set only on macOS where it's required
if -b '[ "`uname`" = "Darwin" ]' \
'set -g default-command "reattach-to-user-namespace -l $SHELL"'