David542
David542

Reputation: 110083

iTerm2: Selecting last-active window

Is there a way to toggle between the current and last-used window in iTerm2? I know there's "Select next window" and "Select previous window", but if I have 10 windows, I would only like to toggle between the two most recently-used windows.

Something like this: https://gyazo.com/c3aef60a99a4db33efe54ddba72ee490.

Is this possible to do?

Upvotes: 0

Views: 288

Answers (1)

petrubear
petrubear

Reputation: 721

You can jump between windows with ⌘ + Option + Number where number is asigned to a window in the orderd you opened it and starts on 1

What i usually do is use tabs instead of windows, and give each tab a color based on what I have on that tab for example green for compiling, red for running servers, purple for ssh connections, yellow to edit files, orange to run commands, etc, and I split each tab in four, so instead of having 8 windows to compile all the parts of the project I'm working on, I use only two tabs, this may be usefull for you if you give it a try

Upvotes: 1

Related Questions