From 96e74326d36b693d34e8db464e9004abd3cb7513 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Sun, 18 Jan 2026 16:18:58 +0900 Subject: [PATCH] home/alacritty: send alt+z on super+z --- home/programs/alacritty.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/home/programs/alacritty.nix b/home/programs/alacritty.nix index 50c5326..f79a9ba 100644 --- a/home/programs/alacritty.nix +++ b/home/programs/alacritty.nix @@ -17,6 +17,16 @@ size = 12.0; }; + keyboard.bindings = [ + # NOTE: Allows for Ctrl+A Super+Z to work as Ctrl+A Alt+Z in tmux, + # very nice for a keyboard with Alt and Super switched. + { + key = "z"; + mods = "Super"; + chars = "\\u001bz"; + } + ]; + colors = let inherit (lib.attrsets) getAttrs filterAttrs;