3 ms·
Oh interesting. I didn't realize it had slash commands either. It's briefly mentioned under "View > Open Quickly" on https://www.iterm2.com/3.3/documentation-
by tedmiston 7y ago
Oh interesting. I didn't realize it had slash commands either.
It's briefly mentioned under "View > Open Quickly" on https://www.iterm2.com/3.3/documentation-menu-items.html https://www.iterm2.com/3.3/documentation-menu-items.html:
> If you have lots of sessions you can quickly find the one you're looking for with Open Quickly. Select the View > Open Quickly menu item (cmd-shift-O) and then enter a search query. You can search by tab title, command name, host name, user name, profile name, directory name, badge label, and more. Queries are scored according to relevance and sorted by score. Open Quickly also lets you create new tabs, change the current session's profile, open arrangements, and change the color preset. If you start your query with a / then that gives you a shortcut to various commands. /a followed by an arrangement name restores the arrangement. /f restricts the query to existing sessions, excluding options to open new tabs, etc. /p restrics the query to profile names to switch the current session to. /t restricts the results to "open new tab" for matching profile names. /c restricts the results to color presets.
I think with /s and creating custom scripts you could wire up some of these use cases.