Add binding to use window-auto layout
This commit is contained in:
parent
e59cea9249
commit
e500aaef7b
@ -58,6 +58,10 @@ if '[ ! -n $ITERM_PROFILE ]' \
|
|||||||
# Enable strikethrough on VTE compatible terminals.
|
# Enable strikethrough on VTE compatible terminals.
|
||||||
set -ga terminal-overrides 'xterm*:smxx=\E[9m'
|
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
|
# Set only on macOS where it's required
|
||||||
if -b '[ "`uname`" = "Darwin" ]' \
|
if -b '[ "`uname`" = "Darwin" ]' \
|
||||||
'set -g default-command "reattach-to-user-namespace -l $SHELL"'
|
'set -g default-command "reattach-to-user-namespace -l $SHELL"'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user