refactor: rename open_changed_files to show_vcs_status

This fits a bit better as we will add commands to do more than just
open the files in the status palette.
This commit is contained in:
CJ van den Berg 2025-10-28 22:15:51 +01:00
parent 7f7f12a441
commit 61de5d89d7
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
3 changed files with 6 additions and 6 deletions

View file

@ -1032,10 +1032,10 @@ const cmds = struct {
}
pub const open_recent_meta: Meta = .{ .description = "Open recent" };
pub fn open_changed_files(self: *Self, _: Ctx) Result {
return self.enter_overlay_mode(@import("mode/overlay/open_changed.zig"));
pub fn show_vcs_status(self: *Self, _: Ctx) Result {
return self.enter_overlay_mode(@import("mode/overlay/vcs_status.zig"));
}
pub const open_changed_files_meta: Meta = .{ .description = "Open changed files (vcs)" };
pub const show_vcs_status_meta: Meta = .{ .description = "Show git status" };
pub fn open_recent_project(_: *Self, _: Ctx) Result {
try project_manager.request_recent_projects();