refactor: add dropdown overlay type

This commit is contained in:
CJ van den Berg 2025-12-18 20:33:51 +01:00
parent 8a7ad7354f
commit 342e7d98c8
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
2 changed files with 576 additions and 0 deletions

View file

@ -375,6 +375,18 @@
["right_control", "palette_menu_activate_quick"]
]
},
"overlay/dropdown": {
"inherit": "normal",
"press": [
["ctrl+p", "palette_menu_up"],
["ctrl+n", "palette_menu_down"],
["escape", "palette_menu_cancel"],
["ctrl+up", "palette_menu_up"],
["ctrl+down", "palette_menu_down"],
["ctrl+enter", "palette_menu_activate"],
["tab", "palette_menu_complete"]
]
},
"mini/numeric": {
"press": [
["ctrl+?", "toggle_keybind_hints"],