feat: add keybind hints to command palette

This commit is contained in:
CJ van den Berg 2024-06-20 22:26:09 +02:00
parent 3ea039f41c
commit d4019d00b2
10 changed files with 422 additions and 139 deletions

View file

@ -63,6 +63,6 @@ fn on_click(_: *void, _: *Button.State(void)) void {
} else if (is_overlay_mode()) {
command.executeName("exit_overlay_mode", .{}) catch {};
} else {
command.executeName("enter_overlay_mode", command.fmt(.{"command_palette"})) catch {};
command.executeName("open_command_palette", .{}) catch {};
}
}