refactor(terminal): add terminal to home screen menu
This commit is contained in:
parent
519d8dd886
commit
424fd3efc3
3 changed files with 5 additions and 2 deletions
|
|
@ -353,6 +353,7 @@
|
||||||
["alt+f9", "overlay_next_widget_style"],
|
["alt+f9", "overlay_next_widget_style"],
|
||||||
["alt+!", "add_task"],
|
["alt+!", "add_task"],
|
||||||
["ctrl+j", "toggle_panel"],
|
["ctrl+j", "toggle_panel"],
|
||||||
|
["ctrl+shift+j", "toggle_maximize_panel"],
|
||||||
["ctrl+q", "quit"],
|
["ctrl+q", "quit"],
|
||||||
["ctrl+w", "close_file"],
|
["ctrl+w", "close_file"],
|
||||||
["ctrl+shift+f", "find_in_files"],
|
["ctrl+shift+f", "find_in_files"],
|
||||||
|
|
@ -599,11 +600,11 @@
|
||||||
["ctrl+8", "focus_split", 7],
|
["ctrl+8", "focus_split", 7],
|
||||||
["ctrl+`", "focus_terminal"],
|
["ctrl+`", "focus_terminal"],
|
||||||
["ctrl+j", "toggle_panel"],
|
["ctrl+j", "toggle_panel"],
|
||||||
|
["ctrl+shift+j", "toggle_maximize_panel"],
|
||||||
["ctrl+shift+p", "open_command_palette"],
|
["ctrl+shift+p", "open_command_palette"],
|
||||||
["alt+shift+p", "open_command_palette"],
|
["alt+shift+p", "open_command_palette"],
|
||||||
["alt+x", "open_command_palette"],
|
["alt+x", "open_command_palette"],
|
||||||
["alt+!", "run_task"],
|
["alt+!", "run_task"],
|
||||||
["ctrl+shift+j", "toggle_maximize_panel"],
|
|
||||||
["alt+f9", "panel_next_widget_style"],
|
["alt+f9", "panel_next_widget_style"],
|
||||||
["ctrl+shift+q", "quit_without_saving"],
|
["ctrl+shift+q", "quit_without_saving"],
|
||||||
["ctrl+alt+shift+r", "restart"]
|
["ctrl+alt+shift+r", "restart"]
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,7 @@ const style = struct {
|
||||||
\\open_recent_project
|
\\open_recent_project
|
||||||
\\find_in_files
|
\\find_in_files
|
||||||
\\open_command_palette
|
\\open_command_palette
|
||||||
|
\\focus_terminal
|
||||||
\\run_task
|
\\run_task
|
||||||
\\add_task
|
\\add_task
|
||||||
\\open_config
|
\\open_config
|
||||||
|
|
@ -52,6 +53,7 @@ const style = struct {
|
||||||
\\open_recent_project
|
\\open_recent_project
|
||||||
\\find_in_files
|
\\find_in_files
|
||||||
\\open_command_palette
|
\\open_command_palette
|
||||||
|
\\focus_terminal
|
||||||
\\run_task
|
\\run_task
|
||||||
\\add_task
|
\\add_task
|
||||||
\\open_config
|
\\open_config
|
||||||
|
|
|
||||||
|
|
@ -1014,7 +1014,7 @@ const cmds = struct {
|
||||||
vt.focus();
|
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 {
|
pub fn close_find_in_files_results(self: *Self, _: Ctx) Result {
|
||||||
if (self.file_list_type == .find_in_files)
|
if (self.file_list_type == .find_in_files)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue