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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
return {
"nvim-orgmode/orgmode",
dependencies = {
{ -- Nicely formatted bullet Headings
"akinsho/org-bullets.nvim",
dependencies = {
"nvim-treesitter/nvim-treesitter",
},
config = function()
local bullets = require("org-bullets")
bullets.setup({
symbols = {
-- list items
list = "",
checkboxes = {
done = { "", "OrgDone" }, -- or
todo = { "", "OrgTodo" }, -- or
half = { "", "OrgHalf" }, -- or
},
},
})
end,
},
{ -- Format tables easily
"dhruvasagar/vim-table-mode",
},
},
event = { "BufEnter", "BufNewFile" },
ft = { "org" },
config = function()
-- This is bound to org-modern:
-- local Menu = require("org-modern.menu")
-- Setup orgmode
require("orgmode").setup({
-- win_split_mode = {'float', 0.9},
-- win_split_mode = 'float',
org_agenda_files = "~/Dropbox/org/**/*",
org_default_notes_file = "~/Dropbox/org/index.org",
calendar_week_start_day = 0,
org_tags_column = 80,
emacs_config = {
-- executable_path = '/opt/homebrew/bin/emacs',
config_path = "$HOME/.config/emacs/early-init.el",
},
})
vim.opt.conceallevel = 2
vim.opt.concealcursor = "v"
-- NOTE: If you are using nvim-treesitter with `ensure_installed = "all"` option
-- add `org` to ignore_install
-- require('nvim-treesitter.configs').setup({
-- ensure_installed = 'all',
-- ignore_install = { 'org' },
-- })
end,
}
|