Questions tagged [iterm2]

`iterm2` is a GPL terminal emulator available on macOS.

859 questions
32
votes
5 answers

How do I stop iTerm2 from running xcodebuild and hanging when I open a window?

Since this morning, on my iMac (macOS High Sierra Version 10.13.6) any time I open an iTerm2 window (with Oh My Zsh installed), I see this: It seems that it's trying to run xcodebuild and it's stuck. I never get a prompt, even after waiting a long…
Paul Shryock
  • 1,309
  • 11
  • 17
31
votes
6 answers

Open file on IntelliJ from iTerm 2

I have output in my iTerm that is like: File project/path/path/file.py:56:54 extra text information How can I open this file in IntelliJ with a single click?
Raúl Martín
  • 4,471
  • 3
  • 23
  • 42
31
votes
5 answers

How do I import an iTerm2 profile?

This question helped me with how to export a profile configuration file, but how do I import that file into iterm2 on my new machine? (the file I exported was called com.googlecode.iterm2.plist, for what it's worth)
Stew
  • 4,495
  • 6
  • 31
  • 41
30
votes
1 answer

How to launch fullscreen when opening iTerm2?

Is there an option to start iTerm in fullscreen mode? I do not see such option in Preferences. I always want that in fullscreen. How can I configure iTerm2 to open as full screen when launching it.
Abd Ur Rehman
  • 1,187
  • 12
  • 17
28
votes
7 answers

Arrow keys no longer work in Python shell after upgrading Mac OS to Sierra

I'm using zsh, iTerm2 (3.0.9), and pyenv (1.0.2) with pyenv global set to 3.5.2. In the Python shell, the up and down arrow keys used to work, to access the previous commands in the history. But now after upgrading to OSX 10.12, instead it shows…
danib
  • 441
  • 5
  • 8
27
votes
6 answers

vim - dim inactive split panes

If you're familiar with the iTerm2 application, you'll know that you can split views similar to vim, and the inactive views are "dimmed." I usually work in vim with three vertical split views and it would be nice to dim the inactive ones by setting…
user287689
27
votes
2 answers

Close a split screen/window in iterm

Does anyone know what the shortcut (if it exists) to close an active pane in iterm. I am using the beta version 2.9 and have tried configuring it in preferences to no avail. This is what I have so far: Shift + cmd + d = split pane (horizontally) cmd…
ARL
  • 986
  • 2
  • 12
  • 25
27
votes
6 answers

How to uninstall iTerm2

After searching for about an hour and only getting install options, I have to ask: How to uninstall iTerm2? So, somehow, I passed a big load of JSON into it (don't ask) and now it has lost the plot somewhat. So I want to kill it and start over,…
MrPickles
  • 810
  • 1
  • 9
  • 27
27
votes
1 answer

Can Terminal.app be made to respect ANSI escape codes?

I notice that with the TERM environment variable set to either xterm or xterm-256color that Mac OS X’s Terminal.app utility respects most ANSI escape codes, as least when those escape codes pertain to changing text color. For example: echo -e…
Mark G.
  • 2,849
  • 2
  • 15
  • 15
26
votes
6 answers

How can I use iterm as default terminal on macOS?

I want to make iTerm2 as my default terminal on macOS, I open iTerm2 and hit to make iTerm default Term But it's not working! And I go to default terminal preferences But after open it I see this
Oliver D
  • 2,579
  • 6
  • 37
  • 80
26
votes
1 answer

Keyboard shortcut to jump to previous command in iTerm2?

In Terminal, I can simply to cmd+up arrow. How can I do this in iTerm2? I've tried the cmd+shift+up arrow option, but it doesn't work reliably, especially when there is a currently running process.
Logan
  • 1,575
  • 1
  • 17
  • 26
26
votes
2 answers

iTerm2 swap panes keyboard shortcut

The option for swapping between panes is only available through the menu button but I can't see any action to bind to this action. Is there and in built command that allows to swap panes?
tushar
  • 741
  • 1
  • 8
  • 21
23
votes
2 answers

Can't see what I'm typing in iterm2

Periodically, I'll run rspec (though I don't know if its specific to that) and suddenly, I can't see what i'm typing. I have to close that iterm2 window out and open a new one. Then that will work fine for a while and iterm2 will hide my typing…
fregas
  • 3,192
  • 3
  • 25
  • 41
22
votes
3 answers

iTerm2 Shell Integration and Oh My Zsh Conflicts

I've recently re-installed iTerm2 and am now running into an interesting problem after setting up iTerm's Shell Integration. Upon open a new terminal window, everything seems to look correct, showing the proper "agnoster" theme from Oh My ZSH: If I…
Will
  • 914
  • 3
  • 11
  • 19
22
votes
1 answer

Is it possible to see a log or history of previous iTerm2 sessions?

Is there a log of recent terminal sessions at all? Or anyway I can see what was written to console before I last quit?
Mascros
  • 341
  • 1
  • 3
  • 12
1 2
3
57 58