more emacs bindings

This commit is contained in:
Jonathan Marler 2025-01-06 11:38:52 -07:00 committed by CJ van den Berg
parent c7d6bd6805
commit 064522959b
2 changed files with 15 additions and 2 deletions

View file

@ -271,6 +271,11 @@ const cmds = struct {
const Ctx = command.Context;
const Result = command.Result;
pub fn palette_menu_top(self: *Self, _: Ctx) Result {
self.menu.select_first();
}
pub const palette_menu_top_meta = .{};
pub fn palette_menu_down(self: *Self, _: Ctx) Result {
self.menu.select_down();
}