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:
parent
7f7f12a441
commit
61de5d89d7
3 changed files with 6 additions and 6 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue