iTerm is a full featured terminal emulation program written for OS X using Cocoa.
Questions tagged [iterm]
117 questions
209
votes
17 answers
With Bash + iTerm2, how to name tabs?
In iTerm2 (Build 1.0.0.20120203), I typically open several tabs, each of which has split panes , and is about one particular theme of work, for example revision control, coding, managing files, mysql terminal work. I typically need to switch…
qazwsx
- 8,599
- 24
- 58
- 86
148
votes
8 answers
How can I get control+left arrow to go back one word in iTerm2?
I was reading up in the Linux manual and I noticed that it said I could use control+left and control+right to move forward and back words in the terminal while editing.
"Pressing Ctrl plus the Left or Right arrow key moves backward or forward a…
cwd
- 17,668
- 42
- 121
- 159
65
votes
9 answers
Change iTerm2 window and tab titles in zsh
I want to label the window tabs of terminal sessions. I'm using the zshell in iterm2 on OSX. Is it possible to change the label of a window tab dynamically in the terminal?
bneil
- 1,967
- 3
- 16
- 20
63
votes
3 answers
Select text in iTerm using keyboard
Is there a way to select text in iTerm OSX using keyboard?
Lydon Ch
- 5,789
- 8
- 32
- 35
60
votes
5 answers
How can I partially clear my terminal scrollback?
I want to partially clear my terminal scrollback history, but only from where I have selected with my mouse in the scrollback and up. Is this possible? I'm on a Mac, and I use iTerm2 and Terminal.
Javid Jamae
- 728
- 1
- 5
- 13
60
votes
8 answers
Color scheme not applied in iTerm2
I haven't been able to apply any color scheme to iTerm2.
It looks like that the Basic Colors are applied, but the ANSI Colors are not (as shown in Preferences>Profiles>Colors).
Using Mac OSX 10.7.2. Any help?
Panagiotis Panagi
- 727
- 2
- 7
- 9
42
votes
6 answers
Enable mouse for scrolling only in Vim in iTerm (MacOSX)
I'd like to use the mouse in Vim only for scrolling (not to enable other Vim modes or otherwise interact with Vim). Using :set mouse=a seems to be an all or nothing operation, can this be altered? Alternatively can iTerm be made to only pass…
Jonah Braun
- 1,637
- 3
- 16
- 13
41
votes
8 answers
How Can I Speed Up Terminal.app or iTerm on Mac OSX?
Every time I launch either iTerm or Terminal after not using it for a few hours, it takes anywhere from 10-20 seconds to return a prompt. The screen is blank, and although I can type I can't actually run any commands.
If I quit either application,…
pmaiorana
- 548
- 1
- 5
- 8
27
votes
1 answer
27
votes
3 answers
Scrolling on Mac with Tmux and iTerm
I'm using iTerm 2.1.4 and Tmux on OS X Yosemite. I'd like to be able to scroll my iTerm windows up and down but I'm not sure what controls scrolling. Does tmux control scrolling when I use it with iTerm or does iTerm still control scrolling?
I've…
Jim
- 405
- 1
- 4
- 6
24
votes
7 answers
Programmatically set the color of a tab in iTerm2?
My daily workflow includes me
Launching iTerm2
Creating 3 tabs
Setting one tab each to red, orange and yellow
Changing to a specific path in each tab
I would like to script this process; shell, applescript, etc. However, I cannot seem to find a…
John Kramlich
- 365
- 1
- 3
- 6
19
votes
11 answers
Is there a way to get iTerm + Bash usability on Microsoft Windows?
I've been using Bash for years and I really like iTerm. Is there a way to get that level of console usability for Micosoft's Windows cmd?
By that I mean the sane tab completion, history (even if you close the terminal), searching back and so on, and…
Pablo Fernandez
- 10,871
- 23
- 67
- 100
19
votes
1 answer
How to keep terminal window title in sync with tmux window
I am using a program called "Timing" to track my time. Timing uses the name of the current window in iTerm for categorization purposes.
I'd like to set the current title of iTerm to match the name of the currently active tmux window.
I've set up a…
thekevinscott
- 843
- 3
- 9
- 14
18
votes
4 answers
How do I set up an AppleScript to open a new iTerm2 tab and change the directory?
In OS X, how do I set up an AppleScript to
open a new iTerm2 tab
change to a directory
clear the console
echo the current directory
I had something like this before for regular Terminal, but I can't even find the scripting guide for iTerm2.
cwd
- 17,668
- 42
- 121
- 159
17
votes
1 answer
enabling colors in the python interactive shell on OS/X
I have just modified my .bash_profile so as to have colors in iTerm and Terminal.
Now, I want to enable syntax highlighting for the Python interactive shell, IDLE-style.
How to do that?
emm
- 213
- 1
- 2
- 6