better neorg key mappings

This commit is contained in:
Salar Rahmanian 2023-11-05 20:26:08 -08:00
parent bfe51501c0
commit d1f3552a6b

View file

@ -4,10 +4,10 @@ return {
build = ":Neorg sync-parsers", build = ":Neorg sync-parsers",
dependencies = { "nvim-lua/plenary.nvim" }, dependencies = { "nvim-lua/plenary.nvim" },
keys = { keys = {
{ "<leader>ni", "<cmd>Neorg index<cr>", desc = "Index" }, { "<leader>ni", "<cmd>Neorg index<cr>", desc = "Neorg index" },
{ "<leader>ns", "<cmd>Neorg generate-workspace-summary<cr>", desc = "Generate Workspace Summary" }, { "<leader>nw", "<cmd>Neorg generate-workspace-summary<cr>", desc = "Neorg generate Workspace Summary" },
{ "<leader>njt", "<cmd>Neorg journal today<cr>", desc = "Journal Today" }, { "<leader>njt", "<cmd>Neorg journal today<cr>", desc = "Neorg Journal Today" },
{ "<leader>njT", "<cmd>Neorg journal template<cr>", desc = "Journal Template" }, { "<leader>njT", "<cmd>Neorg journal template<cr>", desc = "Neorg Journal Template" },
}, },
config = function() config = function()
require("neorg").setup { require("neorg").setup {