feat: re-organize home screen

This commit is contained in:
CJ van den Berg 2025-03-06 21:11:51 +01:00
parent c71226ee47
commit 4b34804670
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
5 changed files with 65 additions and 66 deletions

View file

@ -1,12 +1,22 @@
{
"project": {
"press": [
["f4", "toggle_input_mode"],
["ctrl+0", "reset_fontsize"],
["ctrl+=", "adjust_fontsize", 1.0],
["ctrl+-", "adjust_fontsize", -1.0]
["ctrl+-", "adjust_fontsize", -1.0],
["ctrl+r", "find_file"],
["ctrl+h ctrl+a", "open_help"],
["ctrl+x ctrl+f", "open_file"],
["ctrl+x b", "open_recent"],
["ctrl+c ctrl+o", "open_recent_project"],
["ctrl+c g", "find_in_files"],
["alt+x", "open_command_palette"],
["ctrl+x ctrl+c", "quit"]
]
},
"normal": {
"inherit": "project",
"press": [
["ctrl+g", "cancel"],
["ctrl+_", "undo"],
@ -32,12 +42,9 @@
["ctrl+y", "system_paste"],
["ctrl+x ctrl+f", "open_file"],
["ctrl+x k", "close_file"],
["ctrl+x ctrl+c", "quit"],
["ctrl+x ctrl+s", "save_file"],
["ctrl+x ctrl+c", "quit"],
["ctrl+x b", "switch_buffers"],
["ctrl+x ctrl+r", "open_recent"],
["alt+x", "open_command_palette"],
["ctrl+space", "enter_mode", "select"],
["ctrl+c l = =", "format"],
@ -95,13 +102,9 @@
},
"home": {
"on_match_failure": "ignore",
"inherit": "project",
"press": [
["ctrl+h ctrl+a", "open_help"],
["ctrl+x ctrl+f", "open_file"],
["ctrl+x b", "open_recent"],
["alt+x", "open_command_palette"],
["f", "change_fontface"],
["ctrl+x ctrl+c", "quit"]
["f", "change_fontface"]
]
}
}