Skip to content

Commit cd80e5b

Browse files
committed
fix ghostty copy and paste
1 parent cd159ad commit cd80e5b

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

hm-modules/terminal-emulators/ghostty.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,13 @@ in
3939
clipboard-write = "allow";
4040
clipboard-trim-trailing-spaces = true;
4141
copy-on-select = true;
42+
43+
keybind = [
44+
"ctrl+shift+c=copy_to_clipboard:mixed"
45+
"ctrl+shift+v=paste_from_clipboard"
46+
"ctrl+insert=copy_to_clipboard:mixed"
47+
"shift+insert=paste_from_selection"
48+
];
4249
confirm-close-surface = false;
4350
custom-shader = "${./shader.glsl}";
4451
custom-shader-animation = "always";

0 commit comments

Comments
 (0)