add neorg for notes taking
This commit is contained in:
parent
23316d5276
commit
a409554f1a
7
after/plugin/neorg.lua
Normal file
7
after/plugin/neorg.lua
Normal file
@ -0,0 +1,7 @@
|
||||
-- Note keymaps
|
||||
vim.keymap.set("n", "<leader>ni", ":Neorg index<CR>")
|
||||
vim.keymap.set("n", "<leader>nr", ":Neorg return<CR>")
|
||||
vim.keymap.set("n", "<leader>nj", ":Neorg journal custom<CR>")
|
||||
|
||||
vim.keymap.set("n", "<leader>nim", ":Neorg inject-metadata<CR>")
|
||||
vim.keymap.set("n", "<leader>nis", ":Neorg inject-metadata<CR>")
|
@ -30,6 +30,34 @@ return require('packer').startup(function(use)
|
||||
requires = 'nvim-lua/plenary.nvim'
|
||||
}
|
||||
|
||||
use {
|
||||
"nvim-neorg/neorg",
|
||||
tag = "*",
|
||||
run = ":Neorg sync-parsers",
|
||||
requires = "nvim-lua/plenary.nvim",
|
||||
config = function ()
|
||||
require('neorg').setup {
|
||||
load = {
|
||||
["core.defaults"] = {},
|
||||
["core.concealer"] = {},
|
||||
["core.summary"] = {},
|
||||
["core.export"] = {},
|
||||
["core.export.markdown"] = {},
|
||||
["core.ui"] = {},
|
||||
["core.ui.calendar"] = {},
|
||||
["core.dirman"] = {
|
||||
config = {
|
||||
workspaces = {
|
||||
notes = "~/Documents/Notes",
|
||||
},
|
||||
default_workspace = "notes",
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
end
|
||||
}
|
||||
|
||||
use({
|
||||
"kylechui/nvim-surround",
|
||||
tag = "*", -- Use for stability; omit to use `main` branch for the latest features
|
||||
|
Loading…
x
Reference in New Issue
Block a user