summaryrefslogtreecommitdiff
path: root/nvim/.config
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/.config')
-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)