Add some useful neorg journal keymaps, cspell words

This commit is contained in:
Evie Litherland-Smith 2023-06-15 17:50:51 +01:00
parent 08706f88a2
commit 732401c90b
2 changed files with 5 additions and 1 deletions

View file

@ -1 +1 @@
{"words":["UKAEA","DVCM","indica","Ziga","Carine"],"version":"0.2","allowCompoundWords":true,"useGitignore":true,"language":"en-GB"}
{"version":"0.2","language":"en-GB","words":["UKAEA","DVCM","indica","Ziga","Carine","ITPA","IMAS"],"allowCompoundWords":true,"useGitignore":true}

View file

@ -11,6 +11,10 @@ return {
pattern = { "*.norg" },
command = "Neorg update-metadata",
})
vim.keymap.set("n", "<leader>jo", "<cmd>Neorg journal today <cr>")
vim.keymap.set("n", "<leader>jn", "<cmd>Neorg journal tomorrow <cr>")
vim.keymap.set("n", "<leader>jp", "<cmd>Neorg journal yesterday <cr>")
vim.keymap.set("n", "<leader>jt", "<cmd>Neorg journal template <cr>")
end,
opts = {
load = {