feat: add find_file command as an alias for open_recent

This commit is contained in:
CJ van den Berg 2025-03-06 18:45:41 +01:00
parent 4606fc923d
commit 61de2bb6b7
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -802,6 +802,11 @@ const cmds = struct {
}
pub const insert_command_name_meta = .{ .description = "Insert command name" };
pub fn find_file(self: *Self, _: Ctx) Result {
return self.enter_overlay_mode(@import("mode/overlay/open_recent.zig"));
}
pub const find_file_meta: Meta = .{ .description = "Find file" };
pub fn open_recent(self: *Self, _: Ctx) Result {
return self.enter_overlay_mode(@import("mode/overlay/open_recent.zig"));
}