Add more convenient navigation between iterm2 windows
- iTerm2 version: 3.1.5
- OS version: 10.12.6
- Two displays with system pref 'Displays have separate spaces'
Open on both displays an iTerm2 windows and split each of them with Cmd+d and Cmd+Shift+d.
I miss a consistent and convenient way to cycle between ALL panes, i.e. also in the other window.
Currently, I have to use different ways to switch windows and panes within the windows:
- macOS Cmd+` (Windows) and iTerm2 Cmd+[ (Panes within current Window)
- iTerm2 Opt+Cmd+Number (Windows) (this is cumbersome to type and it is not obvious which window has which number)
- iTerm2 Opt+Cmd+E Expose (misses possibilities to operate with keyboard only)
- macOS Cmd+Tab + Arrow Down on iTerm2 and left/right arrow to select window
- macOS Mission Control Ctrl-Up + Mouse Click
I do not use the last three options because they are laggy due to animations and do not fit into my way of doing things. However, if iTerm's expose could be faster and with some improvements regarding keyboard operation, I would consider using it.
Improve Expose
- If there is a single match, Enter shoud open it immediately. There should be no need to press the Down arrow key.
- Offer ctrl-n/p as an alternative to Up/Down to keep hands on homerow.
- Recognize strings similar to 1/2 as 'jump to window 1 and pane number 2 of window 1'
- offer option to disable zoom animation when mouse hovers over window: just add a blue border
- add tabbing functionality to cycle through all panes
Option for Cmd+[ and Cmd+] to cycle through all panes
I would like to use Cmd+[ and Cmd+] to cycle through ALL panes of ALL windows.
Could you add this an option to iTerm2?
UPDATE: Open Quickly
I have overlooked the functionality 'Open Quickly' with Cmd+Shift+O. I would recommend
- remapping Open Profiles... to Cmd+Shift+O and Open Quickly to Cmd+O
- change the default order to
- panes (order of last visit: 1. previous pane, ..., Last: current pane)
- create new tab with profile, default, ...
- arrangements
- narrow search by entering prefixes, e.g.
>
search only panes,@
search only profiles,=
search arrangements (see Visual Studio Code Cmd+P)
This means I will use this instead of Expose, but cycling through all panes with Cmd+[ and Cmd+] would still be nice.