From 57e0463a51c092fef44142b07b861068330cfb91 Mon Sep 17 00:00:00 2001 From: Bobby Bingham Date: Sat, 2 Jul 2022 10:36:17 -0500 Subject: nvim: add neorg --- nvim/.config/nvim/lua/neorg_config.lua | 15 +++++++++++++++ nvim/.config/nvim/lua/plugins.lua | 6 ++++++ 2 files changed, 21 insertions(+) create mode 100644 nvim/.config/nvim/lua/neorg_config.lua (limited to 'nvim/.config') diff --git a/nvim/.config/nvim/lua/neorg_config.lua b/nvim/.config/nvim/lua/neorg_config.lua new file mode 100644 index 0000000..29030e2 --- /dev/null +++ b/nvim/.config/nvim/lua/neorg_config.lua @@ -0,0 +1,15 @@ +require('neorg').setup { + load = { + ['core.defaults'] = {}, + ['core.norg.dirman'] = { + config = { + workspaces = { + work = "~/notes/work", + home = "~/notes/home", + } + } + }, + ['core.norg.concealer'] = {}, + } +} + diff --git a/nvim/.config/nvim/lua/plugins.lua b/nvim/.config/nvim/lua/plugins.lua index da0097f..c20a187 100644 --- a/nvim/.config/nvim/lua/plugins.lua +++ b/nvim/.config/nvim/lua/plugins.lua @@ -45,5 +45,11 @@ return require('packer').startup(function() }, config = function() require('neotree_config') end } + + use { + 'nvim-neorg/neorg', + requires = 'nvim-lua/plenary.nvim', + config = function() require('neorg_config') end + } end) -- cgit v1.2.3