profile: change recommended keymap for diagnostic float and list
This commit is contained in:
parent
dd5d3cb614
commit
abe4a27f8f
1 changed files with 2 additions and 2 deletions
|
@ -113,10 +113,10 @@ in
|
||||||
];
|
];
|
||||||
|
|
||||||
vim.keymap.set = lib.optionals config.plugins.language-server.lspconfig.enable [
|
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_prev"; }
|
||||||
{ mode = "n"; lhs = "]d"; rhs = raw "vim.diagnostic.goto_next"; }
|
{ 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 (
|
] ++ lib.optionals config.plugins.navigation.telescope.enable (
|
||||||
[
|
[
|
||||||
{ mode = "n"; lhs = leader "ff"; rhs = cmd "Telescope find_files"; }
|
{ mode = "n"; lhs = leader "ff"; rhs = cmd "Telescope find_files"; }
|
||||||
|
|
Loading…
Reference in a new issue