From ee7141e74ea043bc321784c4fa4a215d53d1305c Mon Sep 17 00:00:00 2001 From: jasmine Date: Sun, 5 Oct 2025 10:53:54 +0800 Subject: [PATCH] refactor(wezterm): remove unused pane rotation keybinds Remove PageUp/PageDown pane rotation keybinds that don't align with wezterm workflow. The static pane layout approach (fixed splits + zoom toggle) doesn't benefit from rotation like dynamic window managers do. Also update CLAUDE.md to clarify that Home Manager is a NixOS module, so just build/switch commands handle both system and user configurations together. --- CLAUDE.md | 8 ++++---- .../sajenim/features/desktop/wezterm/wezterm.lua | 12 ------------ 2 files changed, 4 insertions(+), 16 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 9b58750..ad30968 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -9,16 +9,16 @@ This is a NixOS and Home Manager configuration using flakes architecture, managi ## Common Development Commands ### System Management -- `just build ` - Build system configuration without switching -- `just switch ` - Build and switch to new system configuration (requires sudo) +- `just build ` - Build system and home-manager configuration without switching +- `just switch ` - Build and switch to new system and home-manager configuration (requires sudo) - `just deploy ` - Deploy configuration to remote host +**Note**: Home Manager is configured as a NixOS module, so `just build/switch` commands handle both system and user configurations together. + ### Nix Operations - `nix build` - Build packages defined in flake - `nix fmt` - Format Nix files using alejandra formatter - `nix flake update` - Update all flake inputs -- `nixos-rebuild build --flake .#` - Build specific host configuration -- `home-manager switch --flake .#sajenim@` - Switch Home Manager configuration ### Development Environment - `nix develop` - Enter development shell with `just` available diff --git a/home-manager/sajenim/features/desktop/wezterm/wezterm.lua b/home-manager/sajenim/features/desktop/wezterm/wezterm.lua index eb94996..a7a4252 100644 --- a/home-manager/sajenim/features/desktop/wezterm/wezterm.lua +++ b/home-manager/sajenim/features/desktop/wezterm/wezterm.lua @@ -138,18 +138,6 @@ config.keys = { action = wezterm.action.ActivatePaneDirection("Next"), }, - { -- Rotate panes counter-clockwise - key = "PageUp", - mods = "ALT", - action = wezterm.action.RotatePanes("CounterClockwise"), - }, - - { -- Rotate panes clockwise - key = "PageDown", - mods = "ALT", - action = wezterm.action.RotatePanes("Clockwise"), - }, - { -- Focus largest (master) pane key = "Delete", mods = "ALT",