feat: add dropdown_next_widget_style command
This commit is contained in:
parent
3a61bb2ae9
commit
b92d5a2acb
2 changed files with 8 additions and 0 deletions
|
|
@ -378,6 +378,7 @@
|
||||||
"overlay/dropdown": {
|
"overlay/dropdown": {
|
||||||
"inherit": "normal",
|
"inherit": "normal",
|
||||||
"press": [
|
"press": [
|
||||||
|
["alt+f9", "dropdown_next_widget_style"],
|
||||||
["ctrl+p", "palette_menu_up"],
|
["ctrl+p", "palette_menu_up"],
|
||||||
["ctrl+n", "palette_menu_down"],
|
["ctrl+n", "palette_menu_down"],
|
||||||
["escape", "palette_menu_cancel"],
|
["escape", "palette_menu_cancel"],
|
||||||
|
|
|
||||||
|
|
@ -1580,6 +1580,13 @@ const cmds = struct {
|
||||||
try save_config();
|
try save_config();
|
||||||
}
|
}
|
||||||
pub const hint_window_next_widget_style_meta: Meta = .{};
|
pub const hint_window_next_widget_style_meta: Meta = .{};
|
||||||
|
|
||||||
|
pub fn dropdown_next_widget_style(_: *Self, _: Ctx) Result {
|
||||||
|
set_next_style(.dropdown);
|
||||||
|
need_render();
|
||||||
|
try save_config();
|
||||||
|
}
|
||||||
|
pub const dropdown_next_widget_style_meta: Meta = .{};
|
||||||
};
|
};
|
||||||
|
|
||||||
pub const MiniMode = struct {
|
pub const MiniMode = struct {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue