diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 228f89e..c17ff55 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -38,7 +38,7 @@ # DOTFILES_DIR holds the template files; DOTFILES_BACKUP_DIR holds backups # and the last-update-check timestamp. -set -g DOTFILES_VERSION "1.0.3" +set -g DOTFILES_VERSION "1.0.4" # --- Remote repository (set this to enable auto-updates) -------------------- # Example: diff --git a/.config/fish/dotfiles/tmux.conf b/.config/fish/dotfiles/tmux.conf index 462839f..3573a62 100644 --- a/.config/fish/dotfiles/tmux.conf +++ b/.config/fish/dotfiles/tmux.conf @@ -27,17 +27,17 @@ bind r source-file ~/.tmux.conf \; display " tmux.conf reloaded" bind | split-window -h bind - split-window -v -# ── Vim-style pane navigation ──────────────────────────────────────────────── -bind h select-pane -L -bind j select-pane -D -bind k select-pane -U -bind l select-pane -R +# ── Arrow-key pane navigation (no prefix needed) ───────────────────────────── +bind -n Left select-pane -L +bind -n Right select-pane -R +bind -n Down select-pane -D +bind -n Up select-pane -U -# ── Resize panes with arrow keys ───────────────────────────────────────────── -bind -r Left resize-pane -L 2 -bind -r Right resize-pane -R 2 -bind -r Down resize-pane -D 2 -bind -r Up resize-pane -U 2 +# ── Resize panes with Alt+arrow keys ───────────────────────────────────────── +bind -n M-Left resize-pane -L 2 +bind -n M-Right resize-pane -R 2 +bind -n M-Down resize-pane -D 2 +bind -n M-Up resize-pane -U 2 # ── Window management ──────────────────────────────────────────────────────── bind c new-window -c "#{pane_current_path}"