fzy
terminal fuzzy finder picker
git clone https://9o.is/git/fzy.git
commit 3d127e4a44af9c50c0c0695a35dfa2fc3457f317 parent 7b5cd681b08ee6388cc18625f3542f07ecd643ad Author: John Hawthorn <john.hawthorn@gmail.com> Date: Sat, 21 Apr 2018 11:43:30 -0700 Merge pull request #71 from tgeng/master Support cursor jumping with Home and End keys Diffstat:
| M | src/tty_interface.c | | | 4 | ++++ |
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/tty_interface.c b/src/tty_interface.c @@ -279,6 +279,10 @@ static const keybinding_t keybindings[] = {{"\x7f", action_del_char}, /* DEL */ {"\x1b[D", action_left}, /* LEFT */ {"\x1bOC", action_right}, /* RIGHT */ {"\x1b[C", action_right}, /* RIGHT */ + {"\x1b[1~", action_beginning}, /* HOME */ + {"\x1b[H", action_beginning}, /* HOME */ + {"\x1b[4~", action_end}, /* END */ + {"\x1b[F", action_end}, /* END */ {"\x1b[A", action_prev}, /* UP */ {"\x1bOA", action_prev}, /* UP */ {"\x1b[B", action_next}, /* DOWN */