tmux: add stty command alias for resizing (serial) terminals
This commit is contained in:
parent
74e5882919
commit
74c622efab
1 changed files with 3 additions and 0 deletions
|
@ -31,6 +31,9 @@
|
|||
setw -g window-status-format ""
|
||||
setw -g window-status-current-format ""
|
||||
setw -g window-status-separator ""
|
||||
|
||||
set -s command-alias[1000] stty='run-shell "tmux send-keys \"stty cols #{pane_width} rows #{pane_height}\" Enter"'
|
||||
|
||||
bind -n M-1 if-shell 'tmux select-window -t nvim' refresh-client 'new-window -S -n nvim nvim --listen $XDG_RUNTIME_DIR/nvim-persistent.sock'
|
||||
bind -n M-2 if-shell 'tmux select-window -t t1' refresh-client 'new-window -S -n t1'
|
||||
bind -n M-3 if-shell 'tmux select-window -t t2' refresh-client 'new-window -S -n t2'
|
||||
|
|
Loading…
Reference in a new issue