blob: 6e15a74d7830116cac64c0a62f798cfc1a38c5bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
;; Orgmode but better.
(local opts {:load {:core.defaults {}
:core.concealer {}
:core.summary {}
:core.completion {:config {:engine :nvim-cmp}}
:core.presenter {:config {:zen_mode :zen-mode}}
:core.dirman {:config {:workspaces {:master "~/.local/share/norg"
:molecular-notes "~/.local/share/norg/molecular-notes"
:gtd "~/.local/share/norg/gtd"}
:autochdir false
:default_workspace :master}}
:core.integrations.telescope {}}})
(fn config []
(let [neorg (require :neorg)]
(neorg.setup opts)))
(local auto-cmds
[[:FileType
{:pattern :norg
:callback (fn []
(tset vim.opt_local :conceallevel 3))}]])
(fn init []
(let [cmds (require :util.cmds)]
(cmds.create-auto-cmds auto-cmds)))
{1 :nvim-neorg/neorg
:build ":Neorg sync-parsers"
:keys [{1 :<cr> 2 :VBox<cr> :mode :v}]
:ft :norg
:cmd :Norg
: init
: config
:dependencies [:nvim-lua/plenary.nvim
:nvim-neorg/neorg-telescope
:jbyuki/venn.nvim]}
|