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

learn more… | top users | synonyms

41
votes
2answers
14k views

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 ...
33
votes
4answers
12k views

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 ...
32
votes
7answers
11k views

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 ...
21
votes
4answers
11k views

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?
17
votes
2answers
3k views

Select text in iTerm using keyboard

Is there a way to select text in iTerm OSX using keyboard?
11
votes
3answers
11k views

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 ...
11
votes
4answers
6k views

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? ...
10
votes
2answers
1k views

Mac Terminal/iTerm history cursor problems

So often, I run a command in either Terminal.app or iTerm, press the up arrow to go back to edit it, and the cursor jumps to the line above or somewhere totally in the wrong place. It especially ...
9
votes
1answer
4k views

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?
8
votes
7answers
4k views

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 ...
7
votes
2answers
3k views

How to prevent screen from resizing my Terminal in Mac OS X?

I am using iTerm in Mac OS X. When I run screen, the terminal is resized and I get the message Aborted because of window size change. However, screen is still running. How do I get it to stop ...
7
votes
4answers
5k views

Mac OS X Terminal not logging in

I am running Mac OS X version 10.6.3 and when I open the terminal (with terminal.app or iterm) it just hangs on the login process. I've tried restarting, changing the startup command to /bin/bash, and ...
6
votes
2answers
6k views

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 ...
6
votes
1answer
2k views

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, ...
6
votes
1answer
2k views

Redirecting Terminal.app to iTerm.app

Is it possible to redirect an app in Mac OS X to another app? If not, can you redirect Terminal.app to iTerm.app, so every app that wants to open a Terminal window, instead opens an iTerm window. ...
6
votes
2answers
4k views

Smooth scrolling for vim in Mac Terminal/iTerm?

Is it possible to get smooth scrolling (using the mouse scroll wheel or macbook touchpad) within a terminal on Mac OSX (Lion)? Furthermore, could I do this within vim? I find that smooth scrolling ...
5
votes
4answers
8k views

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 ...
5
votes
3answers
2k views

Can I make Terminal.app open different profiles with shortcut like iTerm?

I've been using iTerm for a while, but I switched back to Terminal.app in Snow Leopard due to the Visor plugin. Most of thing works pretty well after I switched to Terminal.app, except in iTerm, I ...
4
votes
1answer
1k views

Difference between tmux and shell split options on iTerm2?

I currently switched to iTerm2 + VIM for my dev environment. I noticed that the last version of iTerm2 supports tmux and there were people using tmux to split the window into several sessions. I also ...
4
votes
2answers
911 views

How can I get iTerm to open a group of windows when it's started?

Apple's Terminal app allows you to save a Windows Group. It seems like iTerm probably has a similar sort of function, but I can't figure how to do it. Right now, it opens one window which is the ...
4
votes
2answers
2k views

How can I make terminal VIM my default editor application in Mac OS X?

I am aware of MacVim, and while it's very nice I am constantly in the terminal. Why have two programs running when I could stay in one? So the question is, how can I make VIM (run in iTerm2) the ...
4
votes
1answer
3k views

iTerm2 and tmux integration

I would like to achieve the following behaviour: When I launch iTerm2, if there is a tmux session running, connect to it. If there is no tmux session running, create one and connect to it. Any ...
4
votes
1answer
971 views

Homebrew: Terminal Emoticons How?

I use homebrew for package management on my mac. Today after updating homebrew I saw something I've never seen before; There was a tiny beer emoticon in the terminal. How is this being done!? What ...
4
votes
2answers
4k views

is there a linux equivalent of iTerm(mac) sending command to multiple tabs functionality?

in iTerm, you can send a command to execute simultaneously on a set of already opened tabs. Is there a way to do this in linux (with gnome-terminal preferably)? for instance, supposed that I had 10 ...
4
votes
1answer
2k views

iterm2 cannot toggle fullscreen when in 'top of screen' mode

I'm trying to toggle fullscreen in iTerm2 by pressing "cmd+enter". Unfortunately it doesn't work when 'top of screen' style is selected in the profile settings (as shown in the attached png). When I ...
3
votes
1answer
1k views

mac iTerm2 unbind command + / Find Cursor shortkey [duplicate]

Possible Duplicate: Is it possible to remove a built-in shortcut from an application in Mac OS X? I'm looking for some way to unbind command + / key by default binded to the View -> Find ...
3
votes
1answer
2k views

Hide iTerm ScrollBar

How can I hide the scrollbar of my iterm console?
3
votes
3answers
2k views

setting visual bell to flash in iTerm

I am using iTerm on OSX (leopard) to ssh to a linux machine. I run screen on the dev machine to save my work between sessions. I am not a big fan of audio bell and I don't like screen's default 'Wuff ...
3
votes
1answer
1k views

How to make the cursor shape dependent on the current Vim mode using iTerm2 on OS X and zsh

I am using zsh and iTerm2 to edit with Vim. I really love the integration and portability, and because of that I have chosen not to use MacVim. But.... I can't work out how to get my cursor to change ...
2
votes
2answers
5k views

How do I quit telnet in iTerm

The title says it all. Note that I'm using a non-US layout, Norwegian, so I can't create the ctrl+] combination. I've found the trick before, but can't find it.
2
votes
2answers
2k views

How do I use the -ne flag for echo in a shell script?

I'm trying to create a shell script to take an argument and use it to name a terminal tab. So if the script's name is tabnm, tabnm "test" should rename the current tab "test" This is my code: ...
2
votes
2answers
354 views

ITerm Shows Broken Pipe Message

How can I get rid of this alert?
2
votes
1answer
373 views

Map MacVim (mvim) movement keys in iTerm2

This question has been asked in various forms and there are a few blog posts around the net but I can't seem to find one that works consistently. I'm going to ask it for my (and perhaps other's) ...
2
votes
1answer
478 views

iTerm (mac command-line) asks annoying questions before quit

Running OS X 10.6 snow leopard. I like to open iTerm for a quick editing of files. And then quit it so I do not have to see it in the dock. This is what has happened: I upgraded iTerm to the most ...
2
votes
2answers
223 views

Stop Git from Opening a new Terminal.app Window on Commit

Git is automatically opening a Terminal window when I save commit messages on my Mac. This might normally be useful (e.g. if the commit was initiated from a Terminal window), but I use iTerm as my ...
2
votes
2answers
2k views

Setting “visual bell” in iterm on OSX

Does anyone know how to set the audible bell to a visual bell in iterm? I've looked around a bit with no luck. I'm on OSX 10.6.3 and iterm Build 0.10.
2
votes
1answer
663 views

How can I copy the output from a remote command into the local clipboard?

I use iTerm2 as my terminal client in Mac OS X. On the local system I can use pbcopy and pbpaste to transfer data between the system clipboard and the terminal, but of course this doesn't work when ...
2
votes
1answer
661 views

How to use iTerm with QuickSilver

I see a page dedicated to an iTerm plugin after googling "quicksilver iterm", but I can find no place to download it, and it doesn't appear to have built-in support. There's a section in preferences ...
2
votes
4answers
1k views

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.
2
votes
3answers
1k views

Vim + iTerm2 color issues

I have trouble with the right Vim configuration. I'm using the latest version of Vim as well as the latest version of iTerm2. I try to get the solarized colorscheme working, but without luck so far. ...
1
vote
1answer
241 views

How can I set TextMate as the default application when clicking on filenames in iTerm?

I'm using iTerm as my default bash shell with Mountain Lion One of the features is when you click on a file name in the shell, it opens it in a TextEditor. At the moment though, each time I click a ...
1
vote
3answers
2k views

How do I stop automatic changing of iterm tab titles?

After switching to using .bashrc instead of .bash_profile (I didn't like how the default terminal worked with one config file and utilities like screen with another), the behavior of iterm2 changed. ...
1
vote
1answer
319 views

iTerm won't run on my OS X system. Troubleshooting ideas?

I just installed iTerm 0.10 on my OS X Snow Leopard system. When I try to launch it, the menu bar says "iTerm" for about a tenth of a second and then it vanishes. It's not listed in the Activity ...
1
vote
1answer
141 views

iTerm2 pin Visor (hotkey) window

Is there anyway to pin (keep on top) the Visor / hotkey window for iTerm2? Every time I give focus to another window (e.g. Chrome for documentation), iTerm2's hotkey window disappears. I have to ...
1
vote
1answer
1k views

OSX set iTerm as default terminal

I want to config iTerm2 to be the default terminal on my mac (Mountain Lion 10.8.4), so when I do right click on the folder and choose "New Terminal Tab at Folder", it should open iTerm. Any ideas?
1
vote
2answers
334 views

Set Tab Title to your current working directory instead of the current job name in zsh iterms

I'm running iTerms on my Mac OS X with zsh. With my workflow I have to switch between tab a lot and sometime I have to spend too much time just to find which tab is the one I'm looking for because all ...
1
vote
1answer
290 views

“^@” characters shown in SSH connection from OS X to Linux server

When I SSH into a Linux server via iTerm on OS X, running a PHP script, there are some strange characters printed on the screen What is this ^@ representing? These characters are not generated ...
1
vote
2answers
130 views

iTerm2, disable %/# sign after command

I've recently made the switch from OS X's Terminal app to iTerm2. There is a small issue which is annoying me. After every command a %-sign is printed out in the terminal. I also have a Debian 6 VM, ...
1
vote
1answer
911 views

How to use key combinations with the option (⌥) key in iTerm2.app?

OS X / Apple keyboards offer these handy keyboard shortcuts for funky Unicode characters, like ⌥ + . gives an ellipsis character (…). How can I use these inside iTerm2.app? Whenever the ⌥ key is ...
1
vote
1answer
453 views

iTerm Prev/Next Tab key command to match Safari (Cmd+Shift+[ or ])

Using hex code 0x5b and 0x5d I can get Cmd+[ and Cmd+] to map to prev/next tab but when I click the checkbox to add Shift into the mix, the shortcut does nothing. Any workarounds or secret tips to get ...