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.
This commit is contained in:
♥ Minnie ♥ 2025-10-05 10:53:54 +08:00
parent 2e0a288a1a
commit ee7141e74e
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
2 changed files with 4 additions and 16 deletions

View file

@ -9,16 +9,16 @@ This is a NixOS and Home Manager configuration using flakes architecture, managi
## Common Development Commands ## Common Development Commands
### System Management ### System Management
- `just build <hostname>` - Build system configuration without switching - `just build <hostname>` - Build system and home-manager configuration without switching
- `just switch <hostname>` - Build and switch to new system configuration (requires sudo) - `just switch <hostname>` - Build and switch to new system and home-manager configuration (requires sudo)
- `just deploy <hostname>` - Deploy configuration to remote host - `just deploy <hostname>` - 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 Operations
- `nix build` - Build packages defined in flake - `nix build` - Build packages defined in flake
- `nix fmt` - Format Nix files using alejandra formatter - `nix fmt` - Format Nix files using alejandra formatter
- `nix flake update` - Update all flake inputs - `nix flake update` - Update all flake inputs
- `nixos-rebuild build --flake .#<hostname>` - Build specific host configuration
- `home-manager switch --flake .#sajenim@<hostname>` - Switch Home Manager configuration
### Development Environment ### Development Environment
- `nix develop` - Enter development shell with `just` available - `nix develop` - Enter development shell with `just` available

View file

@ -138,18 +138,6 @@ config.keys = {
action = wezterm.action.ActivatePaneDirection("Next"), 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 { -- Focus largest (master) pane
key = "Delete", key = "Delete",
mods = "ALT", mods = "ALT",