summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2022-07-02 10:36:17 -0500
committerBobby Bingham <koorogi@koorogi.info>2022-07-02 10:36:17 -0500
commit57e0463a51c092fef44142b07b861068330cfb91 (patch)
treeb6e3bdab60372b65018db888b9fc2ec27b854888
parenta4521c88a18a7f8b1fcd0533ccd4244a1ccfafa2 (diff)
nvim: add neorg
-rw-r--r--nvim/.config/nvim/lua/neorg_config.lua15
-rw-r--r--nvim/.config/nvim/lua/plugins.lua6
2 files changed, 21 insertions, 0 deletions
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)