Compare commits
No commits in common. "394eb5405f3608ea97f1bfc618d4f7619de8440b" and "3a61bb2ae9860fdad860c386ff49b27119990aec" have entirely different histories.
394eb5405f
...
3a61bb2ae9
2 changed files with 0 additions and 19 deletions
|
|
@ -378,7 +378,6 @@
|
||||||
"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"],
|
||||||
|
|
|
||||||
|
|
@ -1108,17 +1108,6 @@ const cmds = struct {
|
||||||
}
|
}
|
||||||
pub const toggle_centered_view_meta: Meta = .{ .description = "Toggle centered view" };
|
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 {
|
pub fn toggle_keybind_hints(self: *Self, _: Ctx) Result {
|
||||||
self.hint_mode = switch (self.hint_mode) {
|
self.hint_mode = switch (self.hint_mode) {
|
||||||
.all => .prefix,
|
.all => .prefix,
|
||||||
|
|
@ -1591,13 +1580,6 @@ 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