feat: re-organize home screen
This commit is contained in:
parent
c71226ee47
commit
4b34804670
5 changed files with 65 additions and 66 deletions
|
@ -1,7 +1,33 @@
|
|||
{
|
||||
"project": {
|
||||
"press": [
|
||||
["ctrl+e", "find_file"],
|
||||
["ctrl+shift+n", "create_new_file"],
|
||||
["ctrl+r", "open_recent_project"],
|
||||
["f1", "open_help"],
|
||||
["ctrl+j", "toggle_panel"],
|
||||
["ctrl+q", "quit"],
|
||||
["ctrl+w", "quit"],
|
||||
["ctrl+o", "open_file"],
|
||||
["ctrl+e", "open_recent"],
|
||||
["ctrl+p", "open_command_palette"],
|
||||
["ctrl+k ctrl+t", "change_theme"],
|
||||
["ctrl+shift+p", "open_command_palette"],
|
||||
["ctrl+shift+q", "quit_without_saving"],
|
||||
["ctrl+shift+f", "find_in_files"],
|
||||
["ctrl+shift+l", "toggle_panel"],
|
||||
["alt+shift+p", "open_command_palette"],
|
||||
["alt+n", "goto_next_file_or_diagnostic"],
|
||||
["alt+p", "goto_prev_file_or_diagnostic"],
|
||||
["alt+l", "toggle_panel"],
|
||||
["alt+i", "toggle_inputview"],
|
||||
["alt+x", "open_command_palette"],
|
||||
["f4", "toggle_input_mode"],
|
||||
["ctrl+f2", "insert_command_name"],
|
||||
["f9", "theme_prev"],
|
||||
["f10", "theme_next"],
|
||||
["f11", "toggle_panel"],
|
||||
["f12", "toggle_inputview"],
|
||||
["alt+!", "select_task"],
|
||||
["ctrl+tab", "next_tab"],
|
||||
["ctrl+shift+tab", "previous_tab"],
|
||||
|
@ -11,19 +37,15 @@
|
|||
["ctrl+minus", "adjust_fontsize", -1.0],
|
||||
["f5", ["create_scratch_buffer", "*test*"], ["shell_execute_insert", "zig", "build", "test"]],
|
||||
["f7", ["create_scratch_buffer", "*build*"], ["shell_execute_insert", "zig", "build"]],
|
||||
["ctrl+f6", "open_version_info"],
|
||||
["alt+d", ["shell_execute_log", "date"]]
|
||||
]
|
||||
},
|
||||
"normal": {
|
||||
"inherit": "project",
|
||||
"press": [
|
||||
["ctrl+e", "open_recent"],
|
||||
["ctrl+r", "open_recent_project"],
|
||||
["ctrl+j", "toggle_panel"],
|
||||
["ctrl+z", "undo"],
|
||||
["ctrl+y", "redo"],
|
||||
["ctrl+q", "quit"],
|
||||
["ctrl+o", "open_file"],
|
||||
["ctrl+w", "close_file"],
|
||||
["ctrl+s", "save_file"],
|
||||
["ctrl+l", "scroll_view_center_cycle"],
|
||||
|
@ -39,7 +61,6 @@
|
|||
["ctrl+k ctrl+u", "delete_to_begin"],
|
||||
["ctrl+k ctrl+k", "delete_to_end"],
|
||||
["ctrl+k ctrl+d", "move_cursor_next_match"],
|
||||
["ctrl+k ctrl+t", "change_theme"],
|
||||
["ctrl+k ctrl+i", "hover"],
|
||||
["ctrl+f", "find"],
|
||||
["ctrl+g", "goto"],
|
||||
|
@ -62,12 +83,9 @@
|
|||
["ctrl+f10", "toggle_whitespace_mode"],
|
||||
["ctrl+f12", "goto_implementation"],
|
||||
["ctrl+shift+s", "save_as"],
|
||||
["ctrl+shift+p", "open_command_palette"],
|
||||
["ctrl+shift+d", "dupe_down"],
|
||||
["ctrl+shift+z", "redo"],
|
||||
["ctrl+shift+q", "quit_without_saving"],
|
||||
["ctrl+shift+w", "close_file_without_saving"],
|
||||
["ctrl+shift+f", "find_in_files"],
|
||||
["ctrl+shift+l", "run_async", "add_cursor_all_matches"],
|
||||
["ctrl+shift+i", "run_async", "toggle_inspector_view"],
|
||||
["ctrl+shift+m", "show_diagnostics"],
|
||||
|
@ -86,12 +104,10 @@
|
|||
["alt+u", "to_upper"],
|
||||
["alt+l", "to_lower"],
|
||||
["alt+c", "switch_case"],
|
||||
["alt+i", "toggle_inputview"],
|
||||
["alt+b", "move_word_left"],
|
||||
["alt+f", "move_word_right"],
|
||||
["alt+s", "filter", "sort"],
|
||||
["alt+v", "paste"],
|
||||
["alt+x", "open_command_palette"],
|
||||
["alt+R", ["shell_execute_insert", "openssl", "rand", "-hex", "4"]],
|
||||
["alt+left", "jump_back"],
|
||||
["alt+right", "jump_forward"],
|
||||
|
@ -101,7 +117,6 @@
|
|||
["alt+f10", "gutter_mode_next"],
|
||||
["alt+shift+f10", "gutter_style_next"],
|
||||
["alt+f12", "goto_declaration"],
|
||||
["alt+shift+p", "open_command_palette"],
|
||||
["alt+shift+d", "dupe_up"],
|
||||
["alt+shift+f", "format"],
|
||||
["alt+shift+s", "filter", "sort", "-u"],
|
||||
|
@ -134,8 +149,6 @@
|
|||
["shift+backspace", "delete_backward"],
|
||||
["shift+tab", "unindent"],
|
||||
["f2", "rename_symbol"],
|
||||
["f4", "toggle_input_mode"],
|
||||
["ctrl+f2", "insert_command_name"],
|
||||
["f3", "goto_next_match"],
|
||||
["f15", "goto_prev_match"],
|
||||
["ctrl+f5", "dump_current_line_tree"],
|
||||
|
@ -221,46 +234,13 @@
|
|||
"inherit": "project",
|
||||
"on_match_failure": "ignore",
|
||||
"press": [
|
||||
["h", "open_help"],
|
||||
["o", "open_file"],
|
||||
["e", "open_recent"],
|
||||
["r", "open_recent_project"],
|
||||
["p", "open_command_palette"],
|
||||
["c", "open_config"],
|
||||
["g", "open_gui_config"],
|
||||
["k", "open_keybind_config"],
|
||||
["t", "change_theme"],
|
||||
["f", "change_fontface"],
|
||||
["v", "open_version_info"],
|
||||
["q", "quit"],
|
||||
["ctrl+f ctrl+f ctrl+f ctrl+f ctrl+f", "home_sheeran"],
|
||||
["ctrl+j", "toggle_panel"],
|
||||
["ctrl+q", "quit"],
|
||||
["ctrl+w", "quit"],
|
||||
["ctrl+o", "open_file"],
|
||||
["ctrl+e", "open_recent"],
|
||||
["ctrl+r", "open_recent_project"],
|
||||
["ctrl+p", "open_command_palette"],
|
||||
["ctrl+k ctrl+t", "change_theme"],
|
||||
["ctrl+shift+p", "open_command_palette"],
|
||||
["ctrl+shift+q", "quit_without_saving"],
|
||||
["ctrl+shift+r", "restart"],
|
||||
["ctrl+shift+f", "find_in_files"],
|
||||
["ctrl+shift+l", "toggle_panel"],
|
||||
["alt+shift+p", "open_command_palette"],
|
||||
["alt+n", "goto_next_file_or_diagnostic"],
|
||||
["alt+p", "goto_prev_file_or_diagnostic"],
|
||||
["alt+l", "toggle_panel"],
|
||||
["alt+i", "toggle_inputview"],
|
||||
["alt+x", "open_command_palette"],
|
||||
["f1", "open_help"],
|
||||
["f4", "toggle_input_mode"],
|
||||
["ctrl+f2", "insert_command_name"],
|
||||
["f6", "open_config"],
|
||||
["f9", "theme_prev"],
|
||||
["f10", "theme_next"],
|
||||
["f11", "toggle_panel"],
|
||||
["f12", "toggle_inputview"],
|
||||
["up", "home_menu_up"],
|
||||
["down", "home_menu_down"],
|
||||
["enter", "home_menu_activate"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue