Merge feature/tmux-alt-arrow-windows into develop
This commit is contained in:
commit
563c8f97ee
2 files changed
+7
No files matched your search
@@ -11,6 +11,7 @@ Format: [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). Versioning: se
|
||||
- `tmux.conf`: move panes between windows — `J`/`L` join the marked pane below/beside, `S` swaps it with the current one, `(`/`)` (repeatable) move the pane to the previous/next slot.
|
||||
- `tmux.conf`: window tabs centred in the status bar (`absolute-centre`), with index, padding and a blank between tabs; the current tab bold on a light pill.
|
||||
- `bin/tmux-copy-exit-keys` + `tmux.conf`: after a mouse selection any bare key leaves copy-mode and returns to the prompt (key swallowed); ctrl/alt keys, and copy-mode opened from the keyboard or the wheel, keep their vi role.
|
||||
- `tmux.conf`: Alt+Left/Right switch windows without the prefix (macOS: map Cmd+arrow in iTerm2 to the `[1;3D` / `[1;3C` escape sequences).
|
||||
|
||||
### Changed
|
||||
- `.githooks/post-commit` and `post-merge` fail closed on `gitflow.autopush`: an unreadable or non-boolean value means no push, with a named warning (was: silently treated as `true`).
|
||||
|
||||
@@ -128,6 +128,12 @@ bind-key -r C-j resize-pane -D 5
|
||||
bind-key -r C-k resize-pane -R 5
|
||||
bind-key -r C-n next-window \; set status on
|
||||
bind-key -r C-p previous-window \; set status on
|
||||
# Alt+arrow too (no prefix): native on Linux/PC. On macOS iTerm2 sends Esc b/f
|
||||
# for Option+arrow, so map Cmd+arrow there to the xterm Alt+arrow sequences
|
||||
# (Send Escape Sequence `[1;3D` / `[1;3C`); it then shadows iTerm2's own
|
||||
# Cmd+arrow tab switching in that profile (Cmd+Shift+[ ] still work).
|
||||
bind-key -n M-Left previous-window \; set status on
|
||||
bind-key -n M-Right next-window \; set status on
|
||||
|
||||
# Moving across panes (and vim), no prefix: ctrl + u/h/j/k laid out as arrows
|
||||
# (u up, h left, j down, k right). These keys sit at the same place on AZERTY
|
||||
|
||||
Reference in new issue
Block a user