refactor: goto minimode into a reusable numeric input minimode

This commit is contained in:
CJ van den Berg 2025-08-11 14:07:11 +02:00
parent e886b7064a
commit 1632061144
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
3 changed files with 155 additions and 134 deletions

View file

@ -328,7 +328,7 @@
["right_control", "palette_menu_activate_quick"]
]
},
"mini/goto": {
"mini/numeric": {
"press": [
["ctrl+q", "quit"],
["ctrl+v", "system_paste"],
@ -338,7 +338,7 @@
["ctrl+l", "scroll_view_center_cycle"],
["ctrl+space", "mini_mode_cancel"],
["escape", "mini_mode_cancel"],
["enter", "exit_mini_mode"],
["enter", "mini_mode_select"],
["backspace", "mini_mode_delete_backwards"]
]
},