feat: add insert_command_name command

This commit is contained in:
CJ van den Berg 2024-11-21 18:04:49 +01:00
parent 6372beb762
commit 73b7031693
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
3 changed files with 80 additions and 0 deletions

View file

@ -736,6 +736,11 @@ const cmds = struct {
}
pub const open_command_palette_meta = .{};
pub fn insert_command_name(self: *Self, _: Ctx) Result {
return self.enter_overlay_mode(@import("mode/overlay/list_all_commands_palette.zig").Type);
}
pub const insert_command_name_meta = .{ .description = "Insert command name" };
pub fn open_recent(self: *Self, _: Ctx) Result {
return self.enter_overlay_mode(@import("mode/overlay/open_recent.zig"));
}