mirror of https://github.com/nirenjan/dotfiles.git
Add zooming capability to tmux.conf
parent
80f475256d
commit
61002f9564
12
tmux.conf
12
tmux.conf
|
@ -119,6 +119,18 @@ bind-key -r l resize-pane -R
|
|||
# Allow the escape key to quit the command mode
|
||||
bind-key -ct vi-edit Escape cancel
|
||||
|
||||
# Pane zooming
|
||||
# Unbind the - key first
|
||||
unbind-key -
|
||||
bind-key + \
|
||||
new-window -d -n tmux-zoom 'clear && echo TMUX ZOOM && read' \;\
|
||||
swap-pane -s tmux-zoom.1 \;\
|
||||
select-window -t tmux-zoom
|
||||
bind-key - \
|
||||
last-window \;\
|
||||
swap-pane -s tmux-zoom.1 \;\
|
||||
kill-window -t tmux-zoom
|
||||
|
||||
# Terminator style pane switching
|
||||
# OSX Terminal.app, enable Use option as meta key
|
||||
# and delete the key bindings for Option Cursor left & Option Cursor right
|
||||
|
|
Loading…
Reference in New Issue