diff options
| -rw-r--r-- | home-manager/config/tmux/tmux.conf | 3 | ||||
| -rw-r--r-- | justfile | 11 |
2 files changed, 1 insertions, 13 deletions
diff --git a/home-manager/config/tmux/tmux.conf b/home-manager/config/tmux/tmux.conf index bca137c..dd8ab2f 100644 --- a/home-manager/config/tmux/tmux.conf +++ b/home-manager/config/tmux/tmux.conf @@ -51,8 +51,7 @@ bind-key -T tw h split-window -h -b -c "#{pane_current_path}" bind-key -T tw j split-window -v -c "#{pane_current_path}" bind-key -T tw k split-window -v -b -c "#{pane_current_path}" bind-key -T tw l split-window -h -c "#{pane_current_path}" -# Workaround: https://github.com/tmux/tmux/blob/3.7a/CHANGES#L3 -bind-key T break-pane -n '#{pane_current_command}' +bind-key T break-pane bind-key h select-pane -L bind-key j select-pane -D bind-key k select-pane -U @@ -17,17 +17,6 @@ update-and-commit HOST: git add -- flake.lock home-manager/package-versions.txt git commit -m "nix: update flake" git diff --color=always HEAD~ -- home-manager/package-versions.txt - just check-tmux-version - -# tmux 3.7 has a crash bug in break-pane (fixed in 3.7a); tmux.conf works around it. -check-tmux-version: - #!/usr/bin/env bash - set -euo pipefail - version=$(grep -oP '^tmux-\K.*' home-manager/package-versions.txt) - if [ "$version" != "3.7" ]; then - echo "WARNING: tmux version changed: 3.7 -> $version" - echo " See home-manager/config/tmux/tmux.conf" - fi sync HOST=default_host: git fetch --all |
