summaryrefslogtreecommitdiffstats
path: root/src/proclist.rs
diff options
context:
space:
mode:
authorrabite <rabite@posteo.de>2019-03-21 21:40:10 +0100
committerrabite <rabite@posteo.de>2019-03-21 21:45:56 +0100
commit0cb4fa89b5de8ce6c0819a6f27e7e7a213091dc7 (patch)
tree185d88c73d34c4086a009ef186976ad4fa8dabb7 /src/proclist.rs
parente4a2749ee0671c7d112b0ab6cabb8e61f8c0f9c0 (diff)
evil keybinds ;)
Diffstat (limited to 'src/proclist.rs')
-rw-r--r--src/proclist.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/proclist.rs b/src/proclist.rs
index a4efabf..d5b68cf 100644
--- a/src/proclist.rs
+++ b/src/proclist.rs
@@ -547,17 +547,17 @@ impl Widget for ProcView {
fn on_key(&mut self, key: Key) -> HResult<()> {
match key {
Key::Char('w') => { return Err(HError::PopupFinnished) }
- Key::Char('d') => { self.remove_proc()? }
- Key::Char('k') => { self.get_listview_mut().kill_proc()? }
- Key::Up | Key::Char('p') => {
+ Key::Char('D') => { self.remove_proc()? }
+ Key::Char('d') => { self.get_listview_mut().kill_proc()? }
+ Key::Up | Key::Char('k') => {
self.get_listview_mut().move_up();
}
- Key::Down | Key::Char('n') => {
+ Key::Down | Key::Char('j') => {
self.get_listview_mut().move_down();
}
Key::Char('f') => { self.toggle_follow().log(); }
- Key::Ctrl('n') => { self.scroll_down().log(); },
- Key::Ctrl('p') => { self.scroll_up().log(); },
+ Key::Ctrl('j') => { self.scroll_down().log(); },
+ Key::Ctrl('k') => { self.scroll_up().log(); },
Key::Ctrl('v') => { self.page_down().log(); },
Key::Alt('v') => { self.page_up().log(); },
Key::Char('>') => { self.scroll_bottom().log(); },