fix(tmux): mappings
This commit is contained in:
parent
6940a95f32
commit
19a468e9d9
@ -139,8 +139,11 @@ bind -n 'M-(' if-shell 'tmux join-pane -d -h -t :9' '' 'break-pane -t 9 -d -n 9'
|
||||
bind -n 'M-)' if-shell 'tmux join-pane -d -h -t :10' '' 'break-pane -t 10 -d -n 10'
|
||||
|
||||
|
||||
_tmux_new_pane_size="30%"
|
||||
_tmux_main_pane_size="70%"
|
||||
|
||||
# Hide pane
|
||||
bind -n M-q if-shell 'tmux join-pane -d -h -s stash' '' 'break-pane -d -n stash'
|
||||
bind -n M-q if-shell 'tmux join-pane -l $_tmux_main_pane_size -h -s stash' '' 'break-pane -d -n stash'
|
||||
|
||||
|
||||
# Swapping windows
|
||||
@ -148,9 +151,6 @@ bind -r "<" swap-window -d -t -1
|
||||
bind -r ">" swap-window -d -t +1
|
||||
|
||||
|
||||
_tmux_new_pane_size="30%"
|
||||
_tmux_main_pane_size="70%"
|
||||
|
||||
# Windows splitting
|
||||
bind -n M-Enter split-window -h -b -l $_tmux_new_pane_size -c "#{pane_current_path}"
|
||||
bind -n M-t split-window -v -l 20% -c "#{pane_current_path}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user