refactor(terminal): add terminal to home screen menu

This commit is contained in:
CJ van den Berg 2026-02-26 20:54:06 +01:00
parent 519d8dd886
commit 424fd3efc3
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
3 changed files with 5 additions and 2 deletions

View file

@ -353,6 +353,7 @@
["alt+f9", "overlay_next_widget_style"],
["alt+!", "add_task"],
["ctrl+j", "toggle_panel"],
["ctrl+shift+j", "toggle_maximize_panel"],
["ctrl+q", "quit"],
["ctrl+w", "close_file"],
["ctrl+shift+f", "find_in_files"],
@ -599,11 +600,11 @@
["ctrl+8", "focus_split", 7],
["ctrl+`", "focus_terminal"],
["ctrl+j", "toggle_panel"],
["ctrl+shift+j", "toggle_maximize_panel"],
["ctrl+shift+p", "open_command_palette"],
["alt+shift+p", "open_command_palette"],
["alt+x", "open_command_palette"],
["alt+!", "run_task"],
["ctrl+shift+j", "toggle_maximize_panel"],
["alt+f9", "panel_next_widget_style"],
["ctrl+shift+q", "quit_without_saving"],
["ctrl+alt+shift+r", "restart"]

View file

@ -34,6 +34,7 @@ const style = struct {
\\open_recent_project
\\find_in_files
\\open_command_palette
\\focus_terminal
\\run_task
\\add_task
\\open_config
@ -52,6 +53,7 @@ const style = struct {
\\open_recent_project
\\find_in_files
\\open_command_palette
\\focus_terminal
\\run_task
\\add_task
\\open_config

View file

@ -1014,7 +1014,7 @@ const cmds = struct {
vt.focus();
}
}
pub const focus_terminal_meta: Meta = .{ .description = "Focus terminal panel" };
pub const focus_terminal_meta: Meta = .{ .description = "Terminal" };
pub fn close_find_in_files_results(self: *Self, _: Ctx) Result {
if (self.file_list_type == .find_in_files)