diff options
Diffstat (limited to 'lua/ben/plugins/neorg.lua')
-rw-r--r-- | lua/ben/plugins/neorg.lua | 57 |
1 files changed, 26 insertions, 31 deletions
diff --git a/lua/ben/plugins/neorg.lua b/lua/ben/plugins/neorg.lua index ece2a53..7a18c00 100644 --- a/lua/ben/plugins/neorg.lua +++ b/lua/ben/plugins/neorg.lua @@ -1,39 +1,34 @@ return { - "nvim-neorg/neorg", - build = ":Neorg sync-parsers", + 'nvim-orgmode/orgmode', dependencies = { - "nvim-lua/plenary.nvim", - "nvim-neorg/neorg-telescope", + { -- Nicely formatted bullet Headings + "akinsho/org-bullets.nvim", + dependencies = "nvim-treesitter/nvim-treesitter", + config = true, + }, }, + event = 'VeryLazy', + ft = { 'org' }, config = function() - require("neorg").setup({ - load = { - ["core.defaults"] = {}, -- Loads default behaviour - ["core.export"] = {}, -- Loads default behaviour - ["core.concealer"] = { - config = { - icons = { - heading = { - icons = { - "", - "", - "", - "", - }, - }, - }, - }, - }, -- Adds pretty icons to your documents - ["core.integrations.telescope"] = {}, - ["core.dirman"] = { -- Manages Neorg workspaces - config = { - workspaces = { - notes = "~/Dropbox/org", - }, - default_workspace = "notes", - }, - }, + -- This is bound to org-modern: + -- local Menu = require("org-modern.menu") + -- Setup orgmode + require('orgmode').setup({ + org_agenda_files = '~/Dropbox/org/**/*', + org_default_notes_file = '~/Dropbox/org/index.org', + 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, } |