Add default # and * binding with vi(1) keys.

pull/1986/head
nicm 2019-11-26 15:35:56 +00:00
parent 58f870ef6e
commit fef8ee23c0
1 changed files with 2 additions and 0 deletions

View File

@ -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",