diff options
author | Thomas Adam <thomas@xteddy.org> | 2019-05-10 22:10:38 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2019-05-10 22:10:38 +0100 |
commit | aa13bd401633122ceb7ced7745025140725ebe06 (patch) | |
tree | 646127a40039a0bf625c605e079e7d43a5de0c4c /key-bindings.c | |
parent | c5f6ea5c0dedfcc8f3245247a0f1298c2fca2fcb (diff) | |
parent | d62fd78655b305f4db9b41ff3b5a35b909674d74 (diff) | |
download | rtmux-aa13bd401633122ceb7ced7745025140725ebe06.tar.gz rtmux-aa13bd401633122ceb7ced7745025140725ebe06.tar.bz2 rtmux-aa13bd401633122ceb7ced7745025140725ebe06.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'key-bindings.c')
-rw-r--r-- | key-bindings.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/key-bindings.c b/key-bindings.c index 4d5f7278..ca4fdc52 100644 --- a/key-bindings.c +++ b/key-bindings.c @@ -271,6 +271,7 @@ key_bindings_init(void) "bind -r C-Down resize-pane -D", "bind -r C-Left resize-pane -L", "bind -r C-Right resize-pane -R", + "bind -n MouseDown1Pane select-pane -t=\\; send-keys -M", "bind -n MouseDrag1Border resize-pane -M", "bind -n MouseDown1Status select-window -t=", @@ -279,6 +280,10 @@ key_bindings_init(void) "bind -n MouseDrag1Pane if -Ft= '#{mouse_any_flag}' 'if -Ft= \"#{pane_in_mode}\" \"copy-mode -M\" \"send-keys -M\"' 'copy-mode -M'", "bind -n MouseDown3Pane if-shell -Ft= '#{mouse_any_flag}' 'select-pane -t=; send-keys -M' 'select-pane -mt='", "bind -n WheelUpPane if-shell -Ft= '#{mouse_any_flag}' 'send-keys -M' 'if -Ft= \"#{pane_in_mode}\" \"send-keys -M\" \"copy-mode -et=\"'", + "bind -n MouseDown3StatusRight display-menu -t= -xM -yS -F -M \"#{client_menu}\" -T \"#[align=centre]#{client_name}\"", + "bind -n MouseDown3StatusLeft display-menu -t= -xM -yS -F -M \"#{session_menu}\" -T \"#[align=centre]#{session_name}\"", + "bind -n MouseDown3Status display-menu -t= -xW -yS -F -M \"#{window_menu}\" -T \"#[align=centre]#{window_index}:#{window_name}\"", + "bind -n M-MouseDown3Pane display-menu -t= -xM -yM -F -M \"#{pane_menu}\" -T \"#[align=centre]#{pane_index} (#{pane_id})\"", "bind -Tcopy-mode C-Space send -X begin-selection", "bind -Tcopy-mode C-a send -X start-of-line", |