Questions tagged [iterm2]

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

859 questions
59
votes
8 answers

is it possibile to open iTerm in current Finder position

Sometimes it could be very useful to open new iTerm window. I've seen this feature in Gnome window manager. It is possible to get same feature on MaxOsX? Is there a software to do that?
sensorario
  • 20,262
  • 30
  • 97
  • 159
58
votes
5 answers

Can I click on a filename and line number in iterm2 to open that file in Visual Studio Code at the correct line number in OS X

When Iterm2 shows a file name and line number in Mac OS X, can I ⌘-click on the file and have it open in an already open window in Visual Studio Code and position the cursor at the correct line number. (Asking this question to document the…
danmux
  • 2,735
  • 1
  • 25
  • 28
57
votes
5 answers

iTerm2 slide down over full screen app

I always have my IDE (phpStorm) in full screen mode (Yosemite). I want my iTerm2 hotkey to slide my terminal window down over the IDE, so it doesn't open up a new space for the terminal window. As once the window slides back up it leaves me on an…
Stanley
  • 3,935
  • 2
  • 18
  • 22
57
votes
3 answers

Create New Tab Sessions with the same working Directory

Often in workflow you are working within a directory and then need to create a second terminal or session to the same directory. TAB 1 #~/home cd really #~/home/really cd long #~/home/really/long cd filepath #~/home/really/long/filepath node…
StanleyZheng
  • 4,008
  • 3
  • 21
  • 24
55
votes
4 answers

iTerm2 Transparent transparent background for inactive windows

The native MacOS Terminal has an ability to set transparency for both in-active and active panes. iTerm2 has the transparency for active backgrounds, for some reason, I can't find the inactive one or maybe there isn't any?. I am aware that, iTerm2…
user5563206
53
votes
5 answers

How to make iTerm2 appear on the current screen?

Under Preferences -> 'Keys' It is possible to tick Show/hide iTerm2 with a system-wide hotkey. However iTerm always appears on the main display (monitor) instead of where the cursor currently resides. e.g. if I have three monitors, and am working…
Houman
  • 64,245
  • 87
  • 278
  • 460
48
votes
5 answers

iTerm2 hide/show like Guake

I have looked around for a short time trying to see if there is any way that iTerm2 has the options to hide/show like Guake does on Ubuntu? I have fallen in love with this option using Guake and would love to see an option like this for Mac. Thank…
pertrai1
  • 4,146
  • 11
  • 46
  • 71
46
votes
7 answers

How to enable autocomplete in iTerm2

Let's say I'm in my root directory, and I have a User folder that I can cd into. In my default Mac terminal, I can just type cd U + tab, and it autocompletes to cd Users/. How do I get this to work in iTerm2? It used to work just fine in iTerm2,…
Farid
  • 1,557
  • 2
  • 21
  • 35
46
votes
4 answers

How to select text in iterm with Shift+Arrow?

On most mac applications Shift+Arrow selects text but in iterm it just moves the cursor without selecting. How do you get it to select the text? Would also be curious if there's a way to do this in terminal.app, too.
truth1ness
  • 4,831
  • 5
  • 21
  • 19
46
votes
9 answers

With iTerm2 on Mac, how to delete forward a word from cursor on command-line?

With iTerm2 1.0.0 on Mac OS X 10.6.8, I'd like to delete from cursor to the next end of word, i.e. deleting one word forward. I tried Alt+d but this types the delta operator symbol ∂ and doesn't delete. How to suppress the typing but let it…
qazwsx
  • 25,536
  • 30
  • 72
  • 106
42
votes
2 answers

How to disable the grey background colour on iterm2 desactived tab split?

In iterm2, by default setting, only the current using tab split will have the normal black background colour, meanwhile all the other tab splits will be covered by a fog-like grey background colour. I know this may be designed to improving…
Zen
  • 4,381
  • 5
  • 29
  • 56
36
votes
1 answer

Difference between iTerm2, zsh and oh-my-zsh

I have been using the default bash of linux for over 1 year and one of colleague recommended me switch over to using iTerm2 alongwith zsh and oh-my-zsh. He also recommended this post to install and configure those…
Pawan Saxena
  • 521
  • 1
  • 4
  • 14
34
votes
1 answer

how to use the trackpad to scroll in nano using iterm2, the way it works in terminal.app?

I am used to editing in nano, and with terminal.app it's easy to quickly move up and down the file using the scroll gesture. I am trying out iTerm2, but now the scroll gesture just makes iTerm scroll upward in history, the nano work area scrolling…
libbynotzoey
  • 481
  • 1
  • 4
  • 7
33
votes
3 answers

When I open the terminal shows "The specified command("completion") is invalid. For a list of available options, run "ng help"

When I open the terminal did't do anything. It will shows errors as below.
Eve-Sama
  • 2,176
  • 4
  • 20
  • 32
33
votes
6 answers

Why do you need to source .zshrc for every new shell in iTerm?

I've used Iterm2 with zsh everyday for the past 3 years, but I got a new computer and had to set it up again. The problem is that when I run ~/.zshrc it works fine, but I have to do it on every new terminal window I open. Not a good experience. I…
Trevor
  • 1,284
  • 3
  • 15
  • 33
1
2
3
57 58