From 35e3a47fe084b03baf9a66bdb45f45363c7bc096 Mon Sep 17 00:00:00 2001 From: Ray Andrew Date: Wed, 24 Dec 2025 20:08:10 -0600 Subject: [PATCH] feat: fix the binding --- config/ghostty/config | 4 ++++ nixos/keyd.nix | 24 ++++++++++++------------ 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/config/ghostty/config b/config/ghostty/config index ebc8abe..bb46882 100644 --- a/config/ghostty/config +++ b/config/ghostty/config @@ -66,3 +66,7 @@ keybind = ctrl+left_bracket=text:\x1b keybind = super+c=copy_to_clipboard keybind = super+v=paste_from_clipboard keybind = super+a=select_all + +keybind = alt+c=copy_to_clipboard +keybind = alt+v=paste_from_clipboard +keybind = alt+a=select_all diff --git a/nixos/keyd.nix b/nixos/keyd.nix index c164d22..c99cb94 100644 --- a/nixos/keyd.nix +++ b/nixos/keyd.nix @@ -38,18 +38,18 @@ # NOTE: c, v, x are NOT remapped here - they're handled by terminal/app configs # This preserves Ctrl+C = SIGINT in terminals (macOS behavior) - # Undo/Redo/Save/Select All/Find - z = "C-z"; - "shift+z" = "C-y"; - s = "C-s"; - a = "C-a"; - f = "C-f"; - - # Tab/Window management - w = "C-w"; - t = "C-t"; - n = "C-n"; - q = "A-F4"; + # # Undo/Redo/Save/Select All/Find + # z = "C-z"; + # "shift+z" = "C-y"; + # s = "C-s"; + # a = "C-a"; + # f = "C-f"; + # + # # Tab/Window management + # w = "C-w"; + # t = "C-t"; + # n = "C-n"; + # q = "A-F4"; # Text navigation (macOS-style) left = "home";