feat: re-organize home screen
This commit is contained in:
parent
c71226ee47
commit
4b34804670
5 changed files with 65 additions and 66 deletions
|
@ -27,29 +27,37 @@ input_namespace: []const u8,
|
|||
const Self = @This();
|
||||
|
||||
const menu_commands = if (build_options.gui) &[_][]const u8{
|
||||
"open_help",
|
||||
"find_file",
|
||||
"create_new_file",
|
||||
"open_file",
|
||||
"open_recent",
|
||||
"open_recent_project",
|
||||
"find_in_files",
|
||||
"open_command_palette",
|
||||
"select_task",
|
||||
"add_task",
|
||||
"open_config",
|
||||
"open_gui_config",
|
||||
"change_fontface",
|
||||
"open_keybind_config",
|
||||
"toggle_input_mode",
|
||||
"change_theme",
|
||||
"change_fontface",
|
||||
"open_help",
|
||||
"open_version_info",
|
||||
"quit",
|
||||
} else &[_][]const u8{
|
||||
"open_help",
|
||||
"find_file",
|
||||
"create_new_file",
|
||||
"open_file",
|
||||
"open_recent",
|
||||
"open_recent_project",
|
||||
"find_in_files",
|
||||
"open_command_palette",
|
||||
"select_task",
|
||||
"add_task",
|
||||
"open_config",
|
||||
"open_keybind_config",
|
||||
"toggle_input_mode",
|
||||
"change_theme",
|
||||
"open_help",
|
||||
"open_version_info",
|
||||
"quit",
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue