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

569 questions
443
votes
11 answers

iTerm - going one word backwards and forwards

Would it be possible to configure iTerm 2 to go backwards and forwards one word through the curent text in the command line using a keyboard shortcut?
syntagma
  • 9,758
  • 12
  • 37
  • 53
401
votes
9 answers

Using Alt/Cmd + Right/Left Arrow in iTerm

Is it possible to move between words in iTerm using Alt + Right/Left Arrows ? Now if I press Alt+Left I will get '[D' and '[C' if I press Alt+Right.
ceth
  • 5,017
  • 4
  • 17
  • 19
247
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
  • 3,733
  • 5
  • 18
  • 11
198
votes
10 answers

What is the difference between iTerm2 and Terminal?

I keep hearing that iTerm2 is much better than Terminal. However, when I downloaded iTerm2, I didn't see what made it preferable over Terminal. What are the differences between these two apps?
daviesgeek
  • 37,296
  • 51
  • 158
  • 200
181
votes
6 answers

iTerm as a slide-out terminal from the top of the screen

I have installed iTerm2 and was hoping I'd have something like guake (Yes I just switched from Ubuntu). I mapped the hotkey to a button of my choice and it works fine, but I miss the slide-down-from-top animation like I had in Ubuntu.
Aadi Droid
  • 2,044
  • 3
  • 14
  • 12
115
votes
4 answers

How to open a new tab in iTerm in the same folder as the one that is open?

I'm using iTerm for my command line needs, and when I open a tab using Cmd ⌘ + T I want it to open the tab cd'ed to the same location as the tab that was open when I hit Cmd ⌘ + T (instead of opening in my /Users/kramer65). I searched around the…
kramer65
  • 1,259
  • 3
  • 10
  • 12
64
votes
2 answers

Changing the default size of iTerm2 when it opens

I feel like this is a pretty stupid question but I Googled it and played around with it and still didn't figure it out so here we go: When I open iTerm2, it opens in a default size. How can I set it to open in a different window size?
EricFromSouthPark
  • 1,451
  • 2
  • 12
  • 12
55
votes
3 answers

iterm - what's the key-combo to switch panes?

I've learned how to split my terminal windows with apple-d and apple-shift-d. Its very useful. How do I then switch between the two panes (see below) using the keyboard? I know I can use the mouse but would like to know if there's a key combo to do…
Michael Durrant
  • 16,996
  • 20
  • 48
  • 71
52
votes
6 answers

How to jump to a location using mouse on iTerm/terminal?

I work on a terminal most of the time. Is there an application / plugin over iTerm or any other terminal like application using which I can control the cursor location of my terminal using a mouse ?
Sairam
  • 5,526
  • 4
  • 32
  • 45
48
votes
1 answer

Make iTerm2 window history larger

In iTerm2 3.1.5 on macOS High Sierra, I want to be able see more of my history as I scroll. Currently the scroll history is not enough for me. How can I increase the amount of data history I see while scrolling upwards? I tried looking in iTerm2…
j2emanue
  • 583
  • 1
  • 4
  • 6
47
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
  • 571
  • 1
  • 4
  • 7
47
votes
2 answers

Set iTerm2 as the ssh:// URL handler

Currently, Terminal is set to handle SSH urls. For example, if I do: $ open ssh://machine.example.com Then it will spawn a new SSH session in terminal. I'd like these to be opened in iTerm2 instead. How do I tell macOS to use iTerm2 to handle…
Lorin Hochstein
  • 2,074
  • 6
  • 26
  • 35
44
votes
3 answers

How do I do Home and End in iterm2?

Home and End do nothing in iTerm2, nor do ⌘← and ⌘→. However, Ctrl-A and Ctrl-E do work. Can Home and End do this? Preferences->Keys_Key Bindings in iTerm2 do not offer a "Start of Line" or "End of Line option. Related: 1, 2
Joshua Fox
  • 897
  • 1
  • 8
  • 18
43
votes
1 answer

Where does iTerm store user preferences?

Where exactly is iTerm's user preferences file located? What I want is to sync this file over Github between several machines.
syntagma
  • 9,758
  • 12
  • 37
  • 53
40
votes
6 answers

For iTerm2, how do I make the working directory appear in the window title?

I recently switched to iTerm2 from the default Terminal app and have a usability issue. On Terminal, the working directory you are in shows up on the title bar along with the process and pixel size. For example, when you click on Window to switch…
whiny_nil
  • 403
  • 1
  • 4
  • 4
1
2 3
37 38