From 732401c90b48a8ce5b3e44d0b2f1ea9231e02160 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Thu, 15 Jun 2023 17:50:51 +0100 Subject: [PATCH] Add some useful neorg journal keymaps, cspell words --- .cspell.json | 2 +- lua/plugins/nvim_neorg.lua | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.cspell.json b/.cspell.json index 2913757..91a3d25 100644 --- a/.cspell.json +++ b/.cspell.json @@ -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} diff --git a/lua/plugins/nvim_neorg.lua b/lua/plugins/nvim_neorg.lua index d787179..09d4b74 100644 --- a/lua/plugins/nvim_neorg.lua +++ b/lua/plugins/nvim_neorg.lua @@ -11,6 +11,10 @@ return { pattern = { "*.norg" }, command = "Neorg update-metadata", }) + vim.keymap.set("n", "jo", "Neorg journal today ") + vim.keymap.set("n", "jn", "Neorg journal tomorrow ") + vim.keymap.set("n", "jp", "Neorg journal yesterday ") + vim.keymap.set("n", "jt", "Neorg journal template ") end, opts = { load = {