1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 03:27:45 +00:00

Use newly added HM Ghostty option for clearing keybindings

This commit is contained in:
RGBCube 2023-12-12 11:41:22 +03:00
parent 415114163e
commit 17f86e1bca
No known key found for this signature in database
2 changed files with 5 additions and 5 deletions

6
flake.lock generated
View file

@ -190,11 +190,11 @@
},
"ghosttyModule": {
"locked": {
"lastModified": 1695482156,
"narHash": "sha256-PFyViLT7eCi/jN6fZ9kFUZF4mYye9Mplm/SEwhUvCDM=",
"lastModified": 1702368251,
"narHash": "sha256-hafrDmzGplzm+vdIo+LkOjRfA4qRcy5JmpGGksnht5c=",
"owner": "clo4",
"repo": "ghostty-hm-module",
"rev": "3ccb4b02eb84316e7ccbf007a6e29495f7e6bee4",
"rev": "887e13a6e7acf5ffaab0119d96e476d84db90904",
"type": "github"
},
"original": {

View file

@ -6,6 +6,8 @@ graphicalConfiguration {
programs.ghostty = enabled {
package = upkgs.ghostty;
clearDefaultKeybindings = true;
keybindings = (lib.mapAttrs' (name: value: lib.nameValuePair "ctrl+shift+${name}" value) {
c = "copy_to_clipboard";
v = "paste_from_clipboard";
@ -56,8 +58,6 @@ graphicalConfiguration {
window-decoration = false;
keybind = "clear";
config-file = [
(toString (pkgs.writeText "base16-config" ghosttyConfig))
];