diff --git a/src/tui/mode/input/vim/insert.zig b/src/tui/mode/input/vim/insert.zig index e793548..a17a6e4 100644 --- a/src/tui/mode/input/vim/insert.zig +++ b/src/tui/mode/input/vim/insert.zig @@ -80,6 +80,7 @@ fn mapPress(self: *Self, keypress: u32, egc: u32, modifiers: u32) tp.result { } return switch (modifiers) { mod.CTRL => switch (keynormal) { + 'E' => self.cmd("enter_overlay_mode", command.fmt(.{"open_recent"})), 'U' => self.cmd("move_scroll_page_up", .{}), 'D' => self.cmd("move_scroll_page_down", .{}), 'J' => self.cmd("toggle_logview", .{}), diff --git a/src/tui/mode/input/vim/normal.zig b/src/tui/mode/input/vim/normal.zig index c9669ac..20ede62 100644 --- a/src/tui/mode/input/vim/normal.zig +++ b/src/tui/mode/input/vim/normal.zig @@ -81,6 +81,7 @@ fn mapPress(self: *Self, keypress: u32, egc: u32, modifiers: u32) tp.result { } return switch (modifiers) { mod.CTRL => switch (keynormal) { + 'E' => self.cmd("enter_overlay_mode", command.fmt(.{"open_recent"})), 'U' => self.cmd("move_scroll_page_up", .{}), 'D' => self.cmd("move_scroll_page_down", .{}), 'R' => self.cmd("redo", .{}), diff --git a/src/tui/mode/input/vim/visual.zig b/src/tui/mode/input/vim/visual.zig index 7b60d9d..5ed202d 100644 --- a/src/tui/mode/input/vim/visual.zig +++ b/src/tui/mode/input/vim/visual.zig @@ -81,6 +81,7 @@ fn mapPress(self: *Self, keypress: u32, egc: u32, modifiers: u32) tp.result { } return switch (modifiers) { mod.CTRL => switch (keynormal) { + 'E' => self.cmd("enter_overlay_mode", command.fmt(.{"open_recent"})), 'U' => self.cmd("move_scroll_page_up", .{}), 'D' => self.cmd("move_scroll_page_down", .{}), 'R' => self.cmd("redo", .{}),