feat(vim): add Shift-i keybind for vim normal mode

This commit is contained in:
CJ van den Berg 2024-08-24 18:57:43 +02:00
parent 55a7f5bd35
commit 0758838cce
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -196,6 +196,7 @@ fn mapPress(self: *Self, keypress: u32, egc: u32, modifiers: u32) !void {
';' => self.cmd("open_command_palette", .{}),
'n' => self.cmd("goto_prev_match", .{}),
'a' => self.seq(.{ "move_end", "enter_mode" }, command.fmt(.{"vim/insert"})),
'i' => self.seq(.{ "smart_move_begin", "enter_mode" }, command.fmt(.{"vim/insert"})),
'4' => self.cmd("move_end", .{}),
'g' => if (self.count == 0)
self.cmd("move_buffer_end", .{})