diff options
author | nicm <nicm> | 2019-11-26 15:35:56 +0000 |
---|---|---|
committer | nicm <nicm> | 2019-11-26 15:35:56 +0000 |
commit | fef8ee23c05eb8023931a35584acdfa0c756208c (patch) | |
tree | 31dc377c69f5bfe81f9247aa22f1079a7fc6b7ce | |
parent | 58f870ef6ec4b9dfb5646cf4eafabaac6ea125bc (diff) | |
download | rtmux-fef8ee23c05eb8023931a35584acdfa0c756208c.tar.gz rtmux-fef8ee23c05eb8023931a35584acdfa0c756208c.tar.bz2 rtmux-fef8ee23c05eb8023931a35584acdfa0c756208c.zip |
Add default # and * binding with vi(1) keys.
-rw-r--r-- | key-bindings.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/key-bindings.c b/key-bindings.c index a2534b44..175af8f4 100644 --- a/key-bindings.c +++ b/key-bindings.c @@ -402,6 +402,8 @@ key_bindings_init(void) "bind -Tcopy-mode C-Up send -X scroll-up", "bind -Tcopy-mode C-Down send -X scroll-down", + "bind -Tcopy-mode-vi '#' send -FX search-backward '#{copy_cursor_word}'", + "bind -Tcopy-mode-vi * send -FX search-forward '#{copy_cursor_word}'", "bind -Tcopy-mode-vi C-c send -X cancel", "bind -Tcopy-mode-vi C-d send -X halfpage-down", "bind -Tcopy-mode-vi C-e send -X scroll-down", |