From ef925316ed801cb3ca7dc8bdab90df82c9e18ce5 Mon Sep 17 00:00:00 2001 From: rvcas Date: Fri, 6 Sep 2024 09:05:31 -0400 Subject: [PATCH] feat: support emacs nav closes #11 --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index b352403..eb697b4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -201,12 +201,12 @@ impl ZellijPlugin for State { close_focus(); } - Event::Key(Key::Down | Key::BackTab) => { + Event::Key(Key::Down | Key::BackTab | Key::Ctrl('n')) => { self.select_down(); should_render = true; } - Event::Key(Key::Up | Key::Ctrl('k')) => { + Event::Key(Key::Up | Key::Ctrl('k' | 'p')) => { self.select_up(); should_render = true;