Questions tagged [iterm]

iTerm is a third party replacement for the built-in Terminal application.

iTerm has several advantages over the built-in Terminal. These include:

  • Split pane view
  • Hotkey window for instant terminal anywhere
  • Search will highlight all found words (like in Chrome and Safari)
  • Mouseless copy
  • Instant replay (can "rewind" your session in case you forgot to note/copy something)
  • Paste history
  • Growl support for notification when a process completes

Source

Related question: What is the difference between iTerm2 and Terminal?

iTerm project homepage

iTerm2 homepage

608 questions
272
votes
13 answers

How can I save tabs in iTerm 2 so they restore the next time the app is run?

Can I save tabs on exit in my iTerm 2, so I don't have to open same directories again after restart? Like Chrome does, for example. I couldn't find such option in settings. Maybe "Arrangements" is what I want, but it seems that it requires me to…
valya
  • 4,033
54
votes
1 answer

iTerm2 - Split vertically with current profile with same working directory

When splitting vertically with current profile by using the keyboard shortcut, Command + D, is it possible for the new iTerm2 window to have the same working directory as the current one? By default, invoking this command opens the new window with…
mrgloom
  • 641
28
votes
4 answers

How to set an iTerm2 startup command

How do I set a command on a profile so that when I start a new terminal window, it fires off that command. Specifically, I'd like to be able to set my virtualenv with: workon ENV So that it starts automatically into my virtual environment when that…
27
votes
1 answer

How can I get iTerm out of fullscreen mode?

I must have hit some keystrokes which got me stuck in full screen mode and there are no resize icons when you hover mouse at top of screen even though the task bar shows up. How do I get out of full screen without restarting iTerm?
24
votes
2 answers

How to remove the annoying quit message by closing iterm2 - prevent logoff/shutdown/reboot

If I quit iTerm2 I always get the "Quit iTerm2? All sessions will be closed." message - independent of the settings in preferences. I don´t tick the three options under "General/Closing" - all regarding the closing mechanism. Normally the message…
UsersUser
  • 669
  • 4
  • 9
19
votes
5 answers

Remapping keys in iterm2

I'm trying to remap some of the default key combinations in iTerm2, and would like to understand what is going on when I bind keys to "Send Hex Codes". A previous post helped me get started with remapping the ctrl-a and ctrl-e key combos to cmd-left…
AndrewHYI
14
votes
3 answers

Disable Search / Dictionary Popup Window in iTerm2

The newer versions of iTerm2 have a "feature" in which a Search dialog is displayed instead of doing a Start selection action. My intention had been to select the 14 and the following paragraph .. but instead I am presented with the Wikipedia…
9
votes
1 answer

iTerm2 does not take the focus with the hotkey window

I have setup a new Mac with iTerm and the hotkey window shortcut (MacOS Catalina). It all works well, except that the hotkey window does not take the focus when it opens. I mean that I can type commands rightaway, but the active application does not…
9
votes
3 answers

iTerm text search is in reverse order

I'm running iTerm2. When do a text search ⌘ F, pressing Return moves the highlighted occurrence back (the previous occurrence). Is there a way to make it move to the next (forward) occurrence?
Wavy Crab
  • 819
9
votes
2 answers

iTerm2 does not kill processes when tab is closed

If I work in terminal, and, say run rails server in it attached to the current terminal and then close the tab it will not terminate the process making it hang around indefinitely without ability to bring it. Is it possible to fix it? Steps to…
Andrew
  • 191
8
votes
3 answers

iTerm2 more contrast to active tab

Is there a way using iTerm2 to give the active tab more contrast compared to the rest of the tabs?
dstarh
  • 752
  • 1
  • 9
  • 25
6
votes
1 answer

Ctrl + Cmd + Return doesn't maximize active pane in iTerm2

The split panes functionality is the primary reason why i use iTerm2. I can maximize/unminimize the active pane by using the View -> Maximize Active Pane menu item. But nothing happens when I press the Ctrl + Cmd + Return shortcut key combination…
scribu
  • 223
6
votes
5 answers

iTerm2 login fails after update

Problem: After updating iTerm2 to version 3.3.6, I started getting the following message whenever opening iTerm2 or opening a new tab in iTerm2. Login incorrect login: I could then login and use the iTerm as normal, but would get the same message…
srcerer
  • 171
6
votes
0 answers

How to stop iTerm2 closing tabs on error?

iTerm2 always closes the tab/window on error. By contrast, Terminal keeps it open so you can view the error. How can I prevent iTerm2 from automatically closing the tab/window on error?
allsap
  • 161
6
votes
1 answer

How to have iTerm2 hotkey window slide up and down instead of fading

I'm using iTerm2, and my hotkey window used to slide down and then back up. A while ago, the animation changed to having it fade in and out. Is there any way to get it to go back to sliding? I prefer that animation.
CSturgess
  • 163
1
2 3 4 5