feat: add home screen bindings for emacs mode

This commit is contained in:
CJ van den Berg 2024-12-05 20:14:43 +01:00
parent 8b24f28820
commit fff1a39fe5
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -5,12 +5,24 @@
["ctrl+e", "move_end"], ["ctrl+e", "move_end"],
["ctrl+b", "move_left"], ["ctrl+b", "move_left"],
["ctrl+f", "move_right"], ["ctrl+f", "move_right"],
["ctrl+s", "find"],
["ctrl+p", "move_up"], ["ctrl+p", "move_up"],
["ctrl+n", "move_down"], ["ctrl+n", "move_down"],
["ctrl+x>ctrl+f", "open_file"],
["ctrl+x>ctrl+c", "quit"],
["ctrl+x>ctrl+s", "save"], ["ctrl+x>ctrl+s", "save"],
["ctrl+x>ctrl+c", "quit"], ["ctrl+x>ctrl+c", "quit"],
["ctrl+x>b", "open_recent"], ["ctrl+x>b", "open_recent"],
["alt+x", "open_command_palette"] ["alt+x", "open_command_palette"]
] ]
},
"home": {
"on_match_failure": "ignore",
"press": [
["ctrl+h>ctrl+a", "open_help"],
["ctrl+x>ctrl+f", "open_file"],
["alt+x", "open_command_palette"],
["ctrl+x>ctrl+c", "quit"]
]
} }
} }