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 = {
|
xdg.portal = {
|
||||||
enable = true;
|
enable = true;
|
||||||
configPackages = [pkgs.hyprland];
|
configPackages = [pkgs.hyprland];
|
||||||
extraPortals = [pkgs.xdg-desktop-portal-gtk];
|
extraPortals = [pkgs.xdg-desktop-portal-gtk pkgs.xdg-desktop-portal-hyprland];
|
||||||
};
|
};
|
||||||
|
|
||||||
services.hypridle = {
|
services.hypridle = {
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,11 @@
|
||||||
action = ":Gitsigns stage_hunk<CR>";
|
action = ":Gitsigns stage_hunk<CR>";
|
||||||
options.desc = "git stage hunk";
|
options.desc = "git stage hunk";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
key = "<leader>ggr";
|
||||||
|
action = ":LazyGit<CR>";
|
||||||
|
options.desc = "git restore hunk";
|
||||||
|
}
|
||||||
{
|
{
|
||||||
key = "<leader>ggb";
|
key = "<leader>ggb";
|
||||||
action = ":Gitsigns blame<CR>";
|
action = ":Gitsigns blame<CR>";
|
||||||
|
|
@ -81,11 +86,12 @@
|
||||||
keymaps = {
|
keymaps = {
|
||||||
lspBuf = {
|
lspBuf = {
|
||||||
"K" = "hover";
|
"K" = "hover";
|
||||||
"<leader>a" = "code_action";
|
"<leader>ca" = "code_action";
|
||||||
|
"<leader>cr" = "rename";
|
||||||
"gd" = "definition";
|
"gd" = "definition";
|
||||||
};
|
};
|
||||||
diagnostic = {
|
diagnostic = {
|
||||||
"<leader>e" = "open_float";
|
"<leader>ch" = "open_float";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue