feat: add keybindings for next/previous file in filelist_view (A-n/p)

This commit is contained in:
CJ van den Berg 2024-07-28 22:41:07 +02:00
parent 99b50dd3f5
commit 9a6c5baf8b
6 changed files with 52 additions and 21 deletions

View file

@ -108,8 +108,8 @@ fn mapPress(self: *Self, keypress: u32, egc: u32, modifiers: u32) !void {
},
mod.ALT => switch (keynormal) {
'V' => self.cmd("system_paste", .{}),
'N' => self.cmd("goto_next_match", .{}),
'P' => self.cmd("goto_prev_match", .{}),
'N' => self.cmd("goto_next_file", .{}),
'P' => self.cmd("goto_prev_file", .{}),
else => {},
},
mod.ALT | mod.SHIFT => switch (keynormal) {