Skip to content

Commit 3cee776

Browse files
Fix agenda goto mapping to be compatible with new structure. Closes #306
1 parent 0c9a259 commit 3cee776

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

lua/orgmode/config/defaults.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@ return {
6565
org_agenda_year_view = 'vy',
6666
org_agenda_quit = 'q',
6767
org_agenda_switch_to = '<CR>',
68-
org_agenda_goto = { '<TAB>' },
68+
org_agenda_goto = {
69+
n = '<TAB>',
70+
},
6971
org_agenda_goto_date = 'J',
7072
org_agenda_redo = 'r',
7173
org_agenda_todo = 't',

lua/orgmode/config/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ function Config:setup_mappings(category)
243243
for mode, key in pairs(keys) do
244244
local mapping = map[mode] or false
245245
if mapping then
246-
action = table.concat(mapping['action'], ', ')
246+
local action = table.concat(mapping['action'], ',')
247247
utils.buf_keymap(
248248
0,
249249
mode,

0 commit comments

Comments
 (0)