2
0
mirror of https://github.com/xvxx/phetch synced 2024-11-10 13:10:54 +00:00

j&k and for the vimmers

This commit is contained in:
dvkt 2019-12-26 15:50:19 -08:00
parent a777a239ef
commit 5a3d29307f
2 changed files with 4 additions and 4 deletions

View File

@ -74,8 +74,8 @@ iescape cancel
ictrl-c cancel/quit ictrl-c cancel/quit
i i
if or / find link in page if or / find link in page
ip select prev link ip or k select prev link
in select next link in or j select next link
i i
ig go to gopher url ig go to gopher url
iu show gopher url iu show gopher url

View File

@ -519,8 +519,8 @@ impl Menu {
match key { match key {
Key::Char('\n') => self.action_open(), Key::Char('\n') => self.action_open(),
Key::Up | Key::Ctrl('p') | Key::Char('p') => self.action_up(), Key::Up | Key::Ctrl('p') | Key::Char('p') | Key::Char('k') => self.action_up(),
Key::Down | Key::Ctrl('n') | Key::Char('n') => self.action_down(), Key::Down | Key::Ctrl('n') | Key::Char('n') | Key::Char('j') => self.action_down(),
Key::PageUp | Key::Ctrl('-') | Key::Char('-') => self.action_page_up(), Key::PageUp | Key::Ctrl('-') | Key::Char('-') => self.action_page_up(),
Key::PageDown | Key::Ctrl(' ') | Key::Char(' ') => self.action_page_down(), Key::PageDown | Key::Ctrl(' ') | Key::Char(' ') => self.action_page_down(),
Key::Char('f') | Key::Char('i') | Key::Char('/') => { Key::Char('f') | Key::Char('i') | Key::Char('/') => {