From 5a3ce8bad8af2f65755bcde223129e240c53b46c Mon Sep 17 00:00:00 2001 From: Michael Stock Date: Tue, 17 Jan 2017 21:41:15 -0800 Subject: Support movement with CTRL-J/CTRL-K --- src/tty_interface.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/tty_interface.c b/src/tty_interface.c index db0b7e2..9bc732b 100644 --- a/src/tty_interface.c +++ b/src/tty_interface.c @@ -227,6 +227,8 @@ static const keybinding_t keybindings[] = {{"\x7f", action_del_char}, /* DEL */ {KEY_CTRL('M'), action_emit}, /* CR */ {KEY_CTRL('P'), action_prev}, /* C-P */ {KEY_CTRL('N'), action_next}, /* C-N */ + {KEY_CTRL('K'), action_prev}, /* C-J */ + {KEY_CTRL('J'), action_next}, /* C-K */ {"\x1b[A", action_prev}, /* UP */ {"\x1bOA", action_prev}, /* UP */ -- cgit v1.2.3