diff --git a/src/keybind/builtin/flow.json b/src/keybind/builtin/flow.json index 9c613cc..7e37578 100644 --- a/src/keybind/builtin/flow.json +++ b/src/keybind/builtin/flow.json @@ -378,7 +378,6 @@ "overlay/dropdown": { "inherit": "normal", "press": [ - ["alt+f9", "dropdown_next_widget_style"], ["ctrl+p", "palette_menu_up"], ["ctrl+n", "palette_menu_down"], ["escape", "palette_menu_cancel"], diff --git a/src/tui/tui.zig b/src/tui/tui.zig index 9d12feb..63219a2 100644 --- a/src/tui/tui.zig +++ b/src/tui/tui.zig @@ -1108,17 +1108,6 @@ const cmds = struct { } pub const toggle_centered_view_meta: Meta = .{ .description = "Toggle centered view" }; - pub fn toggle_completion_style(self: *Self, _: Ctx) Result { - self.config_.completion_style = switch (self.config_.completion_style) { - .palette => .dropdown, - .dropdown => .palette, - }; - defer self.logger.print("completion style {t}", .{self.config_.completion_style}); - try save_config(); - resize(); - } - pub const toggle_completion_style_meta: Meta = .{ .description = "Toggle completion style" }; - pub fn toggle_keybind_hints(self: *Self, _: Ctx) Result { self.hint_mode = switch (self.hint_mode) { .all => .prefix, @@ -1591,13 +1580,6 @@ const cmds = struct { try save_config(); } 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 {