feat: add goto_offset mini mode and command
This commit is contained in:
parent
18cd62ba7e
commit
30a457158c
2 changed files with 63 additions and 0 deletions
|
@ -1038,6 +1038,11 @@ const cmds = struct {
|
|||
}
|
||||
pub const goto_meta: Meta = .{ .description = "Goto line" };
|
||||
|
||||
pub fn goto_offset(self: *Self, ctx: Ctx) Result {
|
||||
return enter_mini_mode(self, @import("mode/mini/goto_offset.zig"), ctx);
|
||||
}
|
||||
pub const goto_offset_meta: Meta = .{ .description = "Goto byte offset" };
|
||||
|
||||
pub fn move_to_char(self: *Self, ctx: Ctx) Result {
|
||||
return enter_mini_mode(self, @import("mode/mini/move_to_char.zig"), ctx);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue