From 1f08544eb2fb9d69a5bf26a95174909afe7c6469 Mon Sep 17 00:00:00 2001 From: aminnairi <18418459+aminnairi@users.noreply.github.com> Date: Sat, 13 Jan 2024 19:10:52 +0100 Subject: [PATCH] added a local leader key for neorg --- .../neovim/files/nvim/lua/settings/lazy/plugins/neorg.lua | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/neorg.lua b/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/neorg.lua index 58798b5..e829e1e 100644 --- a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/neorg.lua +++ b/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/neorg.lua @@ -2,6 +2,9 @@ return { "nvim-neorg/neorg", build = ":Neorg sync-parsers", dependencies = { "nvim-lua/plenary.nvim" }, + init = function() + vim.g.maplocalleader = "," + end, config = function() require("neorg").setup { load = { @@ -25,11 +28,6 @@ return { } } }, - ["core.keybinds"] = { - config = { - default_keybinds = false - } - }, ["core.dirman"] = { config = { workspaces = {