nixbook: fix xdph and update nixvim bindings

This commit is contained in:
Tristan 2024-07-31 17:11:51 +01:00
parent ee31c8b2f9
commit 8358376a4a
2 changed files with 9 additions and 3 deletions

View file

@ -40,6 +40,11 @@
action = ":Gitsigns stage_hunk<CR>";
options.desc = "git stage hunk";
}
{
key = "<leader>ggr";
action = ":LazyGit<CR>";
options.desc = "git restore hunk";
}
{
key = "<leader>ggb";
action = ":Gitsigns blame<CR>";
@ -81,11 +86,12 @@
keymaps = {
lspBuf = {
"K" = "hover";
"<leader>a" = "code_action";
"<leader>ca" = "code_action";
"<leader>cr" = "rename";
"gd" = "definition";
};
diagnostic = {
"<leader>e" = "open_float";
"<leader>ch" = "open_float";
};
};
};