feat: add command to change hint window widget style (shift+alt+f9)
This commit is contained in:
parent
e4dba00625
commit
824a2a1ee1
2 changed files with 8 additions and 0 deletions
|
|
@ -40,6 +40,7 @@
|
|||
["f11", "toggle_panel"],
|
||||
["alt+f11", "toggle_color_scheme"],
|
||||
["f12", "toggle_inputview"],
|
||||
["shift+alt+f9", "hint_window_next_widget_style"],
|
||||
["alt+!", "run_task"],
|
||||
["ctrl+tab", "next_tab"],
|
||||
["ctrl+shift+g", "show_vcs_status"],
|
||||
|
|
|
|||
|
|
@ -1456,6 +1456,13 @@ const cmds = struct {
|
|||
resize();
|
||||
}
|
||||
pub const shrink_centered_view_meta: Meta = .{ .description = "Shrink centered view" };
|
||||
|
||||
pub fn hint_window_next_widget_style(_: *Self, _: Ctx) Result {
|
||||
set_next_style(.hint_window);
|
||||
need_render();
|
||||
try save_config();
|
||||
}
|
||||
pub const hint_window_next_widget_style_meta: Meta = .{};
|
||||
};
|
||||
|
||||
pub const MiniMode = struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue