From 5fdb9edc028e045693b7089fea470ca5faa63b84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Fl=C3=BCgge?= Date: Sat, 29 Jun 2024 16:36:59 +0200 Subject: [PATCH] feat: support cursor keys for calendar navigation --- lua/orgmode/objects/calendar.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lua/orgmode/objects/calendar.lua b/lua/orgmode/objects/calendar.lua index a8784cda0..841b20806 100644 --- a/lua/orgmode/objects/calendar.lua +++ b/lua/orgmode/objects/calendar.lua @@ -106,6 +106,18 @@ function Calendar:open() vim.keymap.set('n', 'l', function() return self:cursor_right() end, map_opts) + vim.keymap.set('n', '', function() + return self:cursor_down() + end, map_opts) + vim.keymap.set('n', '', function() + return self:cursor_up() + end, map_opts) + vim.keymap.set('n', '', function() + return self:cursor_left() + end, map_opts) + vim.keymap.set('n', '', function() + return self:cursor_right() + end, map_opts) vim.keymap.set('n', '>', function() return self:forward() end, map_opts)