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

learn more… | top users | synonyms

1
vote
2answers
140 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
1k 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
418 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
3answers
326 views

Open iTerm2 with ctrl+ctrl?

I recently switched from TotalTerminal (formerly Visor) to iTerm2 on Mac OS X. I used to be able to open TotalTerminal with the shortcut ctrl+ctrl (two quick taps). Is this same shortcut possible in ...
1
vote
2answers
553 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
861 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 ...
1
vote
1answer
77 views

How can I get vim autocompletion working in iTerm

I recently switched from MacVim to regular Vim in iTerm. I've been encountering an issue where I can't get vim's autocompletion to trigger using Ctrl-N. Instead, I get iTerm's autocompletion which ...
1
vote
1answer
200 views

How do I issue M-S-<left-arrow> to Emacs running in iTerm on Mac OS Mavericks?

When I press that key combination I hear a bell and see 0D chars printed to the buffer instead of the command bound to that key chord being executed (org-table-delete-column in this case). ...
1
vote
1answer
217 views

Vim doesn't refresh after running Node

I run :!node app.js from inside Vim and after hitting ctrl-c to end it, the bottom half of the window is blank. Even hitting ctrl-L to refresh doesn't work. This has happened on both OSX 10.6 and ...
1
vote
2answers
3k views

Select display profiles in iTerm for OS X

I've recently started using iTerm for OS X, and I can see how to edit and create display profiles, but not how to choose one for the current session or to be the new default (and I can't imagine why ...
1
vote
1answer
1k views

On OS X, using Terminal, is there a way to get rid of the scroll bar?

I've been going back and forth a bit between iTerm and Terminal lately. They both have their pros and cons, but at this point I've more or less settled on Terminal. (The reason, if you're curious, ...
1
vote
0answers
325 views

Iterm on top of all windows? [duplicate]

Is there a possibility for Iterm to always be on top? I have seen some issues but don't know whether it's already implemented. Issue 2640 in iterm2: Always on Top function
1
vote
0answers
53 views

Constant name of iterm2 tab

I can change the title of terminal tabs in iTerm2 by pressing CMD-I and setting some name. But as soon as I open e.g. vim and close it, tab name is reset to what my prompt says, instead of being ...
1
vote
0answers
1k views

How to export iTerm2 Profiles

I needed to reformat my computer and now I'm having trouble copying the settings/profiles over. I copied the files in ~/Library/Application\ Support/iTerm/ over. I also copied ...
1
vote
1answer
87 views

File Corruptions when using Vim on iMac

I'm experiencing some strange file corruptions when editing PHP files in VIM/iTerm. This is not exclusive to these but the corruptions are slightly different in Nano. Same issues appear in the ...
1
vote
0answers
2k views

iTerm 2 Profiles/Bookmarks

I know this is supposed to be really simple but for the life of me I can't figure out how to store all of the URL's that I typically log into on the iTerm 2 Profiles page. I come from a PuTTY ...
1
vote
0answers
68 views

Is there a way to store certain shortcut variables in iTerm or Terminal.app so that we can access them from any remote machine ?

I use alias for setting up shortcuts so that i need not type out often lengthy directory paths and such. But i ssh into multiple machines often and i cannot alias a bunch of stuff into all the remote ...
1
vote
1answer
113 views

Bind key in vim for switch window

Operation System: OS X Console: iTerm sh: zsh This worked fine i go to bottom window from top: map <c-down> <c-w><down> imap <c-down> <esc><c-w><c-down> ...
0
votes
1answer
3k views

iTerm.app vs Terminal.app

So, I just downloaded iTerm2. I am using zsh in both the apps. iTerm seems to be faster than Terminal. What things matter when you have a wrapper application around a shell? I want to use iTerm but ...
0
votes
1answer
87 views

ZSH in iTerm2: Why my prompt can only use 8 colors?

I am trying to set a color prompt in ZSH ($TERM=xterm-256color), but it can only get 8 colors out: Only the bright version of the colors. This is only the case for prompt, while the other applications ...
0
votes
1answer
180 views

color scheme setup for iTerm

How do you setup color scheme of iTerm on Mac? For color scheme, I mean using different color to display folder name, file name, machine name, etc. thanks in advance, Lin
0
votes
1answer
141 views

Create keyboard shortcut in iTerm that performs an action in different pane

I have an iTerm setup where I often have vim running in one split pane, and guard running in a different split pane. So the keyboard focus stays almost exclusively in the pane running vim. Once in a ...
0
votes
0answers
37 views

.hushlogin but for all folders in iTerm2 / oh-my-zsh

I updated to iTerm v3 beta, and now when I open a new tab with the same location of the previous tab, it shows the Last login MOTD if it's any folder other than ~/. I've read quite a bit about doing ...
0
votes
0answers
6 views

All the tabs comes to location(directory) of active tab

If I am having 2 or more tabs opened in iterm/iterm2, all the tabs have same location all the time. If I navigate to some directory(say, location A) in one tab, other tabs also goes to location A on ...
0
votes
0answers
8 views

iterm all tabs return to same directory used in active tab

If there are 4 tabs opened in iterm and if i'm working in some folder/directory test1 in tab2(active tab) , then all the other tabs (1, 3, 4) also comes to that location (test1).
0
votes
0answers
15 views

How do I remove ESC codes from iTerm output

Whenver I pipe command output from iTerm to a file, I seem to get escape codes in my output. Here's a snippet of a git grep command as an example some_commit_id:some_file_name:]0;user@repo: ...
0
votes
1answer
142 views

Trigger an echo command after ssh in iterm2

I'm trying to trigger the following command after "ssh somehost": export PROMPT_COMMAND='echo -ne "\033]0;$HOSTNAME\007"' nothing seems to work, any suggestions?
0
votes
0answers
18 views

After losing connection to ssh with tmux, random characters get sent with mouse `27M64;85;27M64;8`

If I lose my ssh connection, and I have tmux running on said ssh'd login terminal, then sometimes, I get a weird behavior when I return to my local shell. Mouse behavior sends weird sequences to my ...
0
votes
3answers
58 views

Jumping to previous prompt in terminal

In a terminal, are there any shortcuts to jump to a previous/next prompt? Scrolling up and trying to find the start of a log slows down my workflow. I'm using iTerm on OSX, but this should be ...
0
votes
0answers
21 views

Textmate iTerm bundle

I want to use Textmate with iTerm with zsh. I have a bundle for running selection script in textmate to the mac terminal : #!/usr/bin/env bash # [[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] ...
0
votes
1answer
291 views

How to access Solarized color values within bash script

I'm trying to make my bash PS1 prompt colors according to the Solarized theme. I have solarized installed and working for iTerm2, but so far have been unsuccessful in creating a custom PS1 prompt that ...
0
votes
0answers
341 views

Highlight bash output in iTerm 2?

I've followed the instructions for installing Solarized on iTerm 2, on my new OSX Yosemite machine. It looks as though the background and basic colours are being applied, and $TERM produces ...
0
votes
1answer
202 views

ssh session immediately on starting xterm

What's the most elegant way to start an xterm window that, instead of opening a bash shell for the local computer and requires me to execute my ssh command manually, opens an ssh session for remote ...
0
votes
0answers
553 views

iTerm up arrow autocomplete

Recently, the up-arrow to scroll in my bash history in iTerm 2 stopped functioning as it did before. In the past, if I started typing a command (let's say, `curl') and then pressed up, it would only ...
0
votes
1answer
424 views

iTerm2 jumping to a folder bookmark

I need a simple bookmark just to cd to a folder. I add a bookmark, select login shell and my desired directory. When I use that bookmark my status gets changed from host:folder user$ to bash-3.2$ ...
0
votes
2answers
794 views

How should t_Co be being set?

I am on OS X 10.6.2 and am using iTerm as my terminal. When I run Vim, t_Co gets set to 8. I want it to be 16 or 256 if I can display that many colors. If I manually set t_Co to be 16 (i.e. :se ...