From 2c8e6f0b225985ee18b6f730d98c7db809d46754 Mon Sep 17 00:00:00 2001 From: ahwx Date: Tue, 10 Feb 2026 11:33:27 +0100 Subject: [PATCH] chore: comment out the linux navigation as that breaks `skhd` for now --- modules/core/skhd.nix | 69 ++++++++++++++++++++----------------------- 1 file changed, 32 insertions(+), 37 deletions(-) diff --git a/modules/core/skhd.nix b/modules/core/skhd.nix index 45bb59e..c64a4f5 100644 --- a/modules/core/skhd.nix +++ b/modules/core/skhd.nix @@ -38,50 +38,45 @@ yabai -m window --toggle border # cmd - d : yabai -m space --layout $(yabai -m query --spaces --space | jq -r 'if .type == "bsp" then "stack" else "bsp" end') - cmd - return: open -a Kitty -n + alt - return: open -a Kitty -n + # # Linux-style word navigation and deletion + # ctrl - backspace [ + # @native_apps ~ # Terminal apps handle natively + # * | alt - backspace # Other apps: delete word + # ] + # ctrl - left [ + # @native_apps ~ # Terminal apps handle natively + # * | alt - left # Other apps: move word left + # ] + # ctrl - right [ + # @native_apps ~ # Terminal apps handle natively + # * | alt - right # Other apps: move word right + # ] + # # Home/End key behavior (with shift for selection) + # home [ + # @native_apps ~ # Terminal apps handle natively + # * | cmd - left # Other apps: line start + # ] - # Linux-style word navigation and deletion - ctrl - backspace [ - @native_apps ~ # Terminal apps handle natively - * | alt - backspace # Other apps: delete word - ] + # shift - home [ + # @native_apps ~ # Terminal apps handle natively + # * | cmd + shift - left # Other apps: select to line start + # ] - ctrl - left [ - @native_apps ~ # Terminal apps handle natively - * | alt - left # Other apps: move word left - ] - - ctrl - right [ - @native_apps ~ # Terminal apps handle natively - * | alt - right # Other apps: move word right - ] - - # Home/End key behavior (with shift for selection) - home [ - @native_apps ~ # Terminal apps handle natively - * | cmd - left # Other apps: line start - ] - - shift - home [ - @native_apps ~ # Terminal apps handle natively - * | cmd + shift - left # Other apps: select to line start - ] - - # Ctrl+Home/End for document navigation - ctrl - home [ - @native_apps ~ # Terminal apps handle natively - * | cmd - up # Other apps: document start - ] - - ctrl - end [ - @native_apps ~ # Terminal apps handle natively - * | cmd - down # Other apps: document end - ] + # # Ctrl+Home/End for document navigation + # ctrl - home [ + # @native_apps ~ # Terminal apps handle natively + # * | cmd - up # Other apps: document start + # ] + # ctrl - end [ + # @native_apps ~ # Terminal apps handle natively + # * | cmd - down # Other apps: document end + # ] ''; }; }