refactor: move mode.event_handler back to input mode
This commit is contained in:
parent
d06ebd0dd5
commit
525287c7ac
22 changed files with 47 additions and 51 deletions
|
@ -31,7 +31,7 @@ pub fn create(allocator: Allocator) !tui.Mode {
|
|||
};
|
||||
try self.commands.init(self);
|
||||
return .{
|
||||
.handler = EventHandler.to_owned(self),
|
||||
.input_handler = EventHandler.to_owned(self),
|
||||
.name = "VISUAL",
|
||||
.line_numbers = if (tui.current().config.vim_visual_gutter_line_numbers_relative) .relative else .absolute,
|
||||
.keybind_hints = &hints,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue