feat: add hover command keybindings

This commit is contained in:
CJ van den Berg 2024-09-10 20:27:06 +02:00
parent 539b1fd37d
commit 042c41aca3
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
3 changed files with 3 additions and 0 deletions

View file

@ -242,6 +242,7 @@ fn mapFollower(self: *Self, keypress: u32, _: u32, modifiers: u32) !void {
'K' => self.cmd("delete_to_end", .{}),
'D' => self.cmd("move_cursor_next_match", .{}),
'T' => self.cmd("change_theme", .{}),
'I' => self.cmd("hover", .{}),
else => {},
},
else => {},

View file

@ -310,6 +310,7 @@ fn mapFollower(self: *Self, keypress: u32, egc: u32, modifiers: u32) !void {
'K' => self.cmd("delete_to_end", .{}),
'D' => self.cmd("move_cursor_next_match", .{}),
'T' => self.cmd("change_theme", .{}),
'I' => self.cmd("hover", .{}),
else => {},
},
else => {},

View file

@ -307,6 +307,7 @@ fn mapFollower(self: *Self, keypress: u32, egc: u32, modifiers: u32) !void {
'K' => self.cmd("delete_to_end", .{}),
'D' => self.cmd("move_cursor_next_match", .{}),
'T' => self.cmd("change_theme", .{}),
'I' => self.cmd("hover", .{}),
else => {},
},
else => {},