nixbook: fix xdph and update nixvim bindings
This commit is contained in:
parent
ee31c8b2f9
commit
8358376a4a
2 changed files with 9 additions and 3 deletions
|
|
@ -22,7 +22,7 @@ in {
|
|||
xdg.portal = {
|
||||
enable = true;
|
||||
configPackages = [pkgs.hyprland];
|
||||
extraPortals = [pkgs.xdg-desktop-portal-gtk];
|
||||
extraPortals = [pkgs.xdg-desktop-portal-gtk pkgs.xdg-desktop-portal-hyprland];
|
||||
};
|
||||
|
||||
services.hypridle = {
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue