diff --git a/modules/profiles/recommended.nix b/modules/profiles/recommended.nix index bfb5065..ae6c761 100644 --- a/modules/profiles/recommended.nix +++ b/modules/profiles/recommended.nix @@ -113,10 +113,10 @@ in ]; vim.keymap.set = lib.optionals config.plugins.language-server.lspconfig.enable [ - { mode = "n"; lhs = "${Space}e"; rhs = raw "vim.diagnostic.open_float"; } + { mode = "n"; lhs = localLeader "df"; rhs = raw "vim.diagnostic.open_float"; } { mode = "n"; lhs = "[d"; rhs = raw "vim.diagnostic.goto_prev"; } { mode = "n"; lhs = "]d"; rhs = raw "vim.diagnostic.goto_next"; } - { mode = "n"; lhs = "${Space}q"; rhs = raw "vim.diagnostic.setloclist"; } + { mode = "n"; lhs = localLeader "dl"; rhs = raw "vim.diagnostic.setloclist"; } ] ++ lib.optionals config.plugins.navigation.telescope.enable ( [ { mode = "n"; lhs = leader "ff"; rhs = cmd "Telescope find_files"; }