remap open_bg / log

This commit is contained in:
rabite 2019-04-13 19:09:08 +02:00
parent 9894d0ffab
commit d41ee4aedb
2 changed files with 4 additions and 4 deletions

View File

@ -123,12 +123,12 @@ By default hunter uses vi-style keybindings. If you use a QWERTY-like keyboard l
| d | toggle dirs first | | d | toggle dirs first |
| / | turbo cd | | / | turbo cd |
| Q | quit with dir/selections | | Q | quit with dir/selections |
| F | run in background | | L | run in background |
| ~ | goto prev cwd | | ~ | goto prev cwd |
| ` | goto bookmark | | ` | goto bookmark |
| m | add bookmark | | m | add bookmark |
| w | show processes | | w | show processes |
| L holy(l) | show log | | g holy(l) | show log |
| z | open subshell in cwd | | z | open subshell in cwd |
| c | toggle columns | | c | toggle columns |
| F(n) | switch to tab | | F(n) | switch to tab |

View File

@ -1042,14 +1042,14 @@ impl Widget for FileBrowser {
Key::Char('/') => { self.turbo_cd()?; }, Key::Char('/') => { self.turbo_cd()?; },
Key::Char('Q') => { self.quit_with_dir()?; }, Key::Char('Q') => { self.quit_with_dir()?; },
Key::Right | Key::Char('l') => { self.enter_dir()?; }, Key::Right | Key::Char('l') => { self.enter_dir()?; },
Key::Char('F') => { self.open_bg()?; }, Key::Char('L') => { self.open_bg()?; },
Key::Left | Key::Char('h') => { self.go_back()?; }, Key::Left | Key::Char('h') => { self.go_back()?; },
Key::Char('-') => { self.goto_prev_cwd()?; }, Key::Char('-') => { self.goto_prev_cwd()?; },
Key::Char('`') => { self.goto_bookmark()?; }, Key::Char('`') => { self.goto_bookmark()?; },
Key::Char('m') => { self.add_bookmark()?; }, Key::Char('m') => { self.add_bookmark()?; },
Key::Char('w') => { self.show_procview()?; }, Key::Char('w') => { self.show_procview()?; },
Key::Char('L') => self.show_log()?, Key::Char('g') => self.show_log()?,
Key::Char('z') => self.run_subshell()?, Key::Char('z') => self.run_subshell()?,
Key::Char('c') => self.toggle_colums(), Key::Char('c') => self.toggle_colums(),
_ => { self.main_widget_mut()?.on_key(key)?; }, _ => { self.main_widget_mut()?.on_key(key)?; },