added new C-S-H and C-S-L mappings to move windows around
This commit is contained in:
parent
5c87d7b3d2
commit
065da52c67
1 changed files with 8 additions and 4 deletions
|
@ -14,7 +14,9 @@
|
||||||
|
|
||||||
set -g default-terminal "screen-256color"
|
set -g default-terminal "screen-256color"
|
||||||
|
|
||||||
setw -g xterm-keys on
|
%if #{>=:#{version},3.2}
|
||||||
|
set -g extended-keys on # needed by Control + Shift bindings
|
||||||
|
%endif
|
||||||
set -s escape-time 10 # faster command sequences
|
set -s escape-time 10 # faster command sequences
|
||||||
set -sg repeat-time 600 # increase repeat timeout
|
set -sg repeat-time 600 # increase repeat timeout
|
||||||
set -s focus-events on
|
set -s focus-events on
|
||||||
|
@ -100,6 +102,8 @@ unbind n
|
||||||
unbind p
|
unbind p
|
||||||
bind -r C-h previous-window # select previous window
|
bind -r C-h previous-window # select previous window
|
||||||
bind -r C-l next-window # select next window
|
bind -r C-l next-window # select next window
|
||||||
|
bind -r C-S-H swap-window -t -1 \; select-window -t -1 # swap current window with the previous one
|
||||||
|
bind -r C-S-L swap-window -t +1 \; select-window -t +1 # swap current window with the next one
|
||||||
bind Tab last-window # move to last active window
|
bind Tab last-window # move to last active window
|
||||||
|
|
||||||
# toggle mouse
|
# toggle mouse
|
||||||
|
|
Loading…
Reference in a new issue