mirror of https://github.com/nirenjan/dotfiles.git
Remove custom bindings for pane zooming
tmux 1.8 has native zooming bound to <prefix>z by default.master
parent
758c1a88ee
commit
b12608e5a0
13
tmux.conf
13
tmux.conf
|
@ -135,18 +135,6 @@ bind-key -r l resize-pane -R
|
||||||
# Allow the escape key to quit the command mode
|
# Allow the escape key to quit the command mode
|
||||||
bind-key -ct vi-edit Escape cancel
|
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
|
|
||||||
|
|
||||||
# Clear history
|
# Clear history
|
||||||
# Bash uses C-l to clear the screen, so you can use C-l, M-k to clear the
|
# Bash uses C-l to clear the screen, so you can use C-l, M-k to clear the
|
||||||
# screen and the scrollback buffer too
|
# screen and the scrollback buffer too
|
||||||
|
@ -237,6 +225,7 @@ bind-key -n M-9 select-window -t :9
|
||||||
# bind-key t clock-mode
|
# bind-key t clock-mode
|
||||||
# bind-key w choose-window
|
# bind-key w choose-window
|
||||||
# bind-key x confirm-before -p "kill-pane #P? (y/n)" kill-pane
|
# bind-key x confirm-before -p "kill-pane #P? (y/n)" kill-pane
|
||||||
|
# bind-key z resize-pane -Z
|
||||||
# bind-key { swap-pane -U
|
# bind-key { swap-pane -U
|
||||||
# bind-key } swap-pane -D
|
# bind-key } swap-pane -D
|
||||||
# bind-key ~ show-messages
|
# bind-key ~ show-messages
|
||||||
|
|
Loading…
Reference in New Issue