[tohru] Stop GNOME overriding VS Code keybindings for Copy Line Up/Down

This commit is contained in:
Katherina Walshe-Grey 2024-06-07 22:08:54 +01:00
parent bf8e65ebe3
commit 8c747172a7
2 changed files with 16 additions and 0 deletions

View file

@ -4,5 +4,6 @@
imports = [ imports = [
# TODO: nix-ify other parts of GNOME config # TODO: nix-ify other parts of GNOME config
./appearance.nix ./appearance.nix
./keyboard.nix
]; ];
} }

15
home/gnome/keyboard.nix Normal file
View file

@ -0,0 +1,15 @@
# { config, lib, pkgs, ... }:
{
dconf = {
enable = true;
settings = {
"org/gnome/desktop/wm/keybindings" = {
# These are largely useless on most normal systems
# and conflict with VS Code's default keybinds for "Copy Line Up/Down"
move-to-workspace-up = [ ];
move-to-workspace-down = [ ];
};
};
};
}