add helix selection internal tweaks
This commit is contained in:
parent
3e65503902
commit
70f0d8bea6
3 changed files with 49 additions and 19 deletions
|
@ -951,11 +951,13 @@ const cmds = struct {
|
|||
|
||||
pub fn enter_helix_mode(_: *Self, _: Ctx) Result {
|
||||
try @import("mode/helix.zig").init();
|
||||
if (get_active_editor()) |editor| editor.enable_helix_selection = true;
|
||||
}
|
||||
pub const enter_helix_mode_meta = .{};
|
||||
|
||||
pub fn exit_helix_mode(_: *Self, _: Ctx) Result {
|
||||
@import("mode/helix.zig").deinit();
|
||||
if (get_active_editor()) |editor| editor.enable_helix_selection = false;
|
||||
}
|
||||
pub const exit_helix_mode_meta = .{};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue