feat: render home screen based on current input mode

This commit is contained in:
CJ van den Berg 2024-12-05 19:48:17 +01:00
parent c827972e98
commit f8dff2a7bb
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
5 changed files with 132 additions and 83 deletions

View file

@ -155,6 +155,15 @@
"home": {
"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"],
["k", "open_keybind_config"],
["t", "change_theme"],
["q", "quit"],
["ctrl+f>ctrl+f>ctrl+f>ctrl+f>ctrl+f", "home_sheeran"],
["ctrl+j", "toggle_panel"],
["ctrl+q", "quit"],
@ -175,15 +184,6 @@
["alt+l", "toggle_panel"],
["alt+i", "toggle_inputview"],
["alt+x", "open_command_palette"],
["h", "open_help"],
["o", "open_file"],
["e", "open_recent"],
["r", "open_recent_project"],
["p", "open_command_palette"],
["c", "open_config"],
["k", "open_keybind_config"],
["t", "change_theme"],
["q", "quit"],
["f1", "open_help"],
["f2", "toggle_input_mode"],
["ctrl+f2", "insert_command_name"],