fix(nvim): fix staging bind
This commit is contained in:
parent
36e9b90df6
commit
a461d39d81
3 changed files with 9 additions and 10 deletions
|
@ -4,11 +4,9 @@ local function visual_stage()
|
|||
local first_line = vim.fn.line('v')
|
||||
local last_line = vim.fn.getpos('.')[2]
|
||||
gitsigns.stage_hunk({ first_line, last_line })
|
||||
-- Switch back to normal mode, there may be a cleaner way to do this
|
||||
vim.api.nvim_feedkeys(vim.api.nvim_replace_termcodes('<Esc>', true, false, true), 't', false)
|
||||
end
|
||||
|
||||
vim.keymap.set("v", "gbhs", function()
|
||||
vim.keymap.set("v", "gs", function()
|
||||
visual_stage()
|
||||
end)
|
||||
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
};
|
||||
|
||||
# Set your time zone.
|
||||
time.timeZone = "America/Toronto";
|
||||
time.timeZone = "America/Montreal";
|
||||
|
||||
# No touchy
|
||||
system.stateVersion = "23.11";
|
||||
|
|
|
@ -7,12 +7,13 @@
|
|||
nix-gaming.nixosModules.steamCompat
|
||||
];
|
||||
|
||||
programs.steam = {
|
||||
programs = {
|
||||
steam = {
|
||||
enable = true;
|
||||
|
||||
extraCompatPackages = [
|
||||
# pkgs.luxtorpeda
|
||||
nix-gaming.packages.${pkgs.system}.proton-ge
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue