Skip to content

Commit

Permalink
orgmode: fix key mapping laggy issue
Browse files Browse the repository at this point in the history
Signed-off-by: Avimitin <[email protected]>
  • Loading branch information
Avimitin committed Nov 18, 2023
1 parent 87e65f9 commit d861355
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions lua/note/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,20 @@ pack("dhruvasagar/vim-table-mode", {
pack("nvim-orgmode/orgmode", {
ft = "org",
keys = {
"<leader>oa",
"<leader>oc",
{
"<leader>oa",
function()
require("orgmode").action("agenda.prompt")
end,
desc = "[orgmode] Prompt Agenda",
},
{
"<leader>oc",
function()
require("orgmode").action("capture.prompt")
end,
desc = "[orgmode] Prompt capture",
},
},
config = function()
require("orgmode").setup_ts_grammar()
Expand Down

0 comments on commit d861355

Please sign in to comment.