summaryrefslogtreecommitdiff
path: root/fnl/config
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-10-16 02:32:33 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-10-16 02:32:33 +0200
commitb59f9a12f4799849802c17cf517cd6c76cf57122 (patch)
tree2bf3cb980310251b2b6d3c00db49e14e48a90a7e /fnl/config
parent0c9d0371931277ce253e899e9d8a462bf228afef (diff)
Fix orgmode
Diffstat (limited to 'fnl/config')
-rw-r--r--fnl/config/cmp.fnl1
-rw-r--r--fnl/config/which-key.fnl4
2 files changed, 3 insertions, 2 deletions
diff --git a/fnl/config/cmp.fnl b/fnl/config/cmp.fnl
index 73ebba4..24115d7 100644
--- a/fnl/config/cmp.fnl
+++ b/fnl/config/cmp.fnl
@@ -26,6 +26,7 @@
{:name :nvim_lua}
{:name :luasnip}
{:name :spell}
+ {:name :orgmode}
{:name :buffer :keyword_length 4}
{:name :path :keyword_length 6}]
:formatting {:format (lspkind.cmp_format {:with_text true
diff --git a/fnl/config/which-key.fnl b/fnl/config/which-key.fnl
index 2fa2d5b..fdd76b5 100644
--- a/fnl/config/which-key.fnl
+++ b/fnl/config/which-key.fnl
@@ -117,9 +117,9 @@
"Workspace Symbols"]})
(def- org {:name :Orgmode
- :a ["<cmd>lua require('orgmode').action('agenda.prompt')"
+ :a ["<cmd>lua require('orgmode').action('agenda.prompt')<cr>"
"Open agenda prompt"]
- :c ["<cmd>lua require('orgmode').action('capture.prompt')"
+ :c ["<cmd>lua require('orgmode').action('capture.prompt')<cr>"
"Open capture prompt"]})
(def- packer {:name :Packer