diff options
author | nicm <nicm> | 2022-07-06 07:36:36 +0000 |
---|---|---|
committer | nicm <nicm> | 2022-07-06 07:36:36 +0000 |
commit | d0d2c39decd1c342f2ffdb360e5d6b509b9bb34e (patch) | |
tree | ad87aa7bcfe855f02b3d9dfe3969b01f334700da /key-bindings.c | |
parent | 9360e0ef329c12931bb97f42197a56776bb3d2f0 (diff) | |
download | rtmux-d0d2c39decd1c342f2ffdb360e5d6b509b9bb34e.tar.gz rtmux-d0d2c39decd1c342f2ffdb360e5d6b509b9bb34e.tar.bz2 rtmux-d0d2c39decd1c342f2ffdb360e5d6b509b9bb34e.zip |
Support hyperlinks with capture-pane -e and add a mouse_hyperlink
format, GitHub issue 3247 from Jeff Chiang.
Diffstat (limited to 'key-bindings.c')
-rw-r--r-- | key-bindings.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/key-bindings.c b/key-bindings.c index 95171966..bcc6004d 100644 --- a/key-bindings.c +++ b/key-bindings.c @@ -54,6 +54,9 @@ " '#{?mouse_word,Copy #[underscore]#{=/9/...:mouse_word},}' 'c' {copy-mode -q; set-buffer -- \"#{q:mouse_word}\"}" \ " '#{?mouse_line,Copy Line,}' 'l' {copy-mode -q; set-buffer -- \"#{q:mouse_line}\"}" \ " ''" \ + " '#{?mouse_hyperlink,Type #[underscore]#{=/9/...:mouse_hyperlink},}' 'C-h' {copy-mode -q; send-keys -l -- \"#{q:mouse_hyperlink}\"}" \ + " '#{?mouse_hyperlink,Copy #[underscore]#{=/9/...:mouse_hyperlink},}' 'h' {copy-mode -q; set-buffer -- \"#{q:mouse_hyperlink}\"}" \ + " ''" \ " 'Horizontal Split' 'h' {split-window -h}" \ " 'Vertical Split' 'v' {split-window -v}" \ " ''" \ |