Questions tagged [iterm]

iTerm is a full featured terminal emulation program written for OS X using Cocoa.

119 questions
220
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
  • 9,311
172
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
  • 18,788
  • 43
  • 123
  • 162
67
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
  • 2,137
65
votes
4 answers

Select text in iTerm using keyboard

Is there a way to select text in iTerm OSX using keyboard?
Lydon Ch
  • 6,289
65
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?
62
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.
47
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,747
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
31
votes
4 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
  • 445
  • 1
  • 4
  • 6
28
votes
1 answer

Hide iTerm ScrollBar

How can I hide the scrollbar of my iterm console?
Tiago
  • 381
25
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…
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
20
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…
19
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
  • 18,788
  • 43
  • 123
  • 162
17
votes
9 answers

MacOS X: How to have a handy "Open this folder in iTerm" shortcut?

I think the title states exactly what I want to do. I want a shortcut or even a button within Finder which fires up a new iTerm Tab and changes the location to the location I've open in Finder. Some sort of open . in reverse.
Malax
  • 1,105
1
2 3 4 5 6 7 8