iTerm2 is an open source Terminal replacement for OS X

learn more… | top users | synonyms

12
votes
2answers
744 views

Disable Cmd+Enter on iTerm 2

I'm using iTerm 2 on Mac, and whenever I press Command + Return the thing goes full screen. My big fat fingers can't help it, so I really need to turn it off. Any suggestions? Thanks in advance
3
votes
1answer
157 views

Add sound to keystrokes in iTerm2 / zsh

I've been searching for quite a while now, but haven't found anything. I want to spice my terminal up a bit more than just colorizing it – I also want to add specific sounds to keystrokes, newlines ...
1
vote
2answers
251 views

Setting non-contiguous text selection on iTerm and Chrome in OS X

How do I set a selection of non-contiguous text in the latest version of iTerm2 and Chrome in OS X 10.8.3?
0
votes
1answer
46 views

Enabling number on iterm2 tabs

How does one achieve the following effects in iTerm2. Displaying the number on each tab of the terminal. This was seen in Michael Hartl's ROR tutorial and was wondering how I could replicate that on ...
1
vote
1answer
854 views

How to make command+arrow go to begining and end of line in iterm2?

With the default settings, command + arrow_left switches to the tab on the left. How to change it so that it puts the cursor at the beginning of the line instead ?
0
votes
2answers
210 views

.bashrc iTerm2 PS1

I've just installed iTerm2 on my computer and oh-my-zsh. Everything is working fine except that it's displaying "➜ ~ git:(master) ✗" as my PS1. I'm not sure what this token is called. Anybody? I'm ...
9
votes
4answers
3k views

iTerm 2 window resizing

My iTerm 2 window is up against the menubar at the top of the screen. When I resize the window vertically from the top to the bottom, a small gap is always left. It never resizes down fully to the ...
5
votes
5answers
2k 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.
0
votes
2answers
139 views

iTerm minimizes when I press ESC

When I press ESC in VIm insert mode, instead of going back to control mode, my iTerm minimizes and does not go back to control mode, but it stucks in insert mode. I am using Vim 7.3 that came with ...
0
votes
1answer
258 views

How do I use windows style Home and End on OSX in Vim (iterm2)

Having tried many options to replicate Home, End functionality (for beginning of line and end of line), from windows to OSX, I have got to the point where it works everywhere except in vim. I am ...
15
votes
3answers
4k views

How do I get the numpad to work in vim using iterm2 on osx with term=xterm?

My numpad works in iterm2 (bash), but it inserts characters instead of numbers in insert mode for vim. How can I get vim to recognise the correct escape codes. I have tried editing the escape codes ...
1
vote
0answers
77 views

Is it possible to use Vim plugin CSExact with iTerm2?

I'm a bit anal about my color schemes, and in order to get really nice colors in Vim, I'm trying the CSExact plugin. I'm not sure if it's supposed to work at all in iTerm2 though? My terminal is set ...
1
vote
1answer
408 views

How to create iTerm2 color schemes?

The solarized project has a nice iTerm2 color scheme. Anyone know how to make those? Sure, it's just an XML file with values in it but it's a pain to edit that.
0
votes
2answers
1k views

Copy text from remote via iTerm2 with Tmux to OS X clipboard

I'd tried using iTerm2 beta Build 1.0.0.20120724 and using bind C-y run-shell "reattach-to-user-namespace -l zsh -c 'tmux show-buffer | pbcopy'" in .tmux.conf but none works. The solutions I found ...
2
votes
1answer
395 views

Terminal colours on ssh connection

I connect to an Ubuntu installation I have on AWS via iTerm and the colours are not practical. For example the "blue on black" colouring of folders on list view is almost impossible to read. How can ...
0
votes
1answer
627 views

Weird distance between margin and cursor (iTerm2 + tmux)

I'm running iTerm 2 on 10.8 and I've installed zsh with oh-my-zsh and tmux (both from homebrew). When running zsh in iTerm it's all good, however, as soon as I run tmux, there is this weird distance ...
2
votes
1answer
2k views

How to setup iTerm “Visor” option like TotalTerminal?

I configured my iTerm using this tutorial: http://technosophos.com/content/configure-iterm2-act-visor But I have few problems with it, for example when I am in fullscreen mode and I press CMD + Tab ...
1
vote
1answer
218 views

iTerm 2 change row size using AppleScript

I want to change the height of my terminal window using a script. Currently this is what I have come up with: tell application "iTerm" activate tell the current terminal tell the ...
3
votes
0answers
79 views

iTerm 2 running tmux session causes “startup disk almost full” randomly

Anytime I run a tmux session, disk space will randomly begin filling up and the computer will slow down, then everything goes back to normal. This happens periodically. I am using iTerm 2. Does ...
3
votes
1answer
2k views

iTerm2 vim cannot map alt key

I'm having trouble trying to map the alt-key bindings on vim in iTerm2. I want to map shortcuts for switching between buffers like this: map <A-Right> <C-w>l map <A-Left> ...
3
votes
2answers
4k views

OSX: Possible to use Total Terminal with iTerm2?

As I understand it, Total Terminal is a thin layer on top of Terminal.app that adds some Yakuake-like features. My question is: Is it possible to use Total Terminal with iTerm2 as the "backend" ...
1
vote
0answers
31 views

overlining support in terminal

when I enter printf "\e[4m%s\e[0m\n" TESTING into iterm or osx terminal, testing returns underlined. Are there any terminals (mac or linux) that would support printf "\e[53m%s\e[0m\n" TESTING?
0
votes
1answer
254 views

When I press C-; in emacs+iterm2 why does it only get ;

I would like to use iedit-mode together with paredit-mode. When I bind C-; to iedit-mode globally, I still always get 'paredit-semicolon when I press C-;. I thought this was kind of weird. I recorded ...
1
vote
1answer
3k views

Ubuntu purple terminal colors to iTerm2

I've been looking for a iTerm2 theme that resembles the default purple Ubuntu terminal but have had no success so far. Does a theme for the standard Ubuntu terminal exist for iTerm2 or will I have to ...
7
votes
1answer
596 views

Fancy colored rendering issue on osx 10.8 retina with iTerm

I use iTerm2, with oh-my-zsh and zsh and in my .zshrc file I set a couple of my prompts to the unicode bolt symbol as follows. ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[yellow]%}⚡%{$reset_color%}" ...
2
votes
2answers
504 views

Why doesn't tmux respond to shortcuts properly?

I'm using OSX 10.8.1 in combination with iTerm2, zsh and tmux via Homebrew. The beginning of my ~/.tmux.conf file looks like this: set -g prefix C-a unbind C-b bind-key a send-prefix set -sg ...
0
votes
1answer
2k 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 ...
3
votes
1answer
2k views

disabling 'full screen mode' in Lion (to use transparent full screen iTerm2)

I like using my iTerm2 window in transparent mode, full screen so I can code and see my desktop picture as well. I have upgraded to Lion and now when I enter full screen it gets rid of my desktop! ...
0
votes
1answer
443 views

Disable close-window in iterm2

ctrl + D closes an iterm2 window. Where's this option to disable it? I can't find it in preferences->keys or preferences->general.
1
vote
0answers
118 views

iTerm auto-capitalising everything

I recently bought a Mac Mini in the office. I had installed Mountain Lion Developer about a month before the official release. Everything worked perfectly except for the fact that in iTerm it'd ...
15
votes
4answers
15k views

More crisp font for iTerm on OSX

On iTerm on OSX Mountain Lion the default Monaco font is not very good for white on black text Aliased text is ugly Anti-aliased text is too bold I would prefer more crisp anti-aliased font. ...
2
votes
2answers
1k views

Keyboard shortcut for switching panes in tmux in iTerm2 on OS X

I have tmux installed with iTerm2 on OS X. While I can do Cmd+left/right to switch between tabs, I cannot seem to be able to switch between panes under the same tab using Ctl+b o (that is, Control ...
1
vote
1answer
239 views

Window style not applied to iTerm2 in Lion

I'm messing with my default profile in iTerm2 to see the difference between normal, fullscreen and top of screen windows. However, the window doesn't seem to change out of "normal" mode, even if the ...
5
votes
1answer
586 views

How can I remap Control+e to Escape+Control+e in iTerm2?

I have set up a few custom keyboard shortcuts in iTerm2 to easily move the cursor around with the arrow keys, but now I'd like to remap Ctrl+E to be Esc, Ctrl+E because Bash 4.2 no longer auto-expands ...
0
votes
1answer
319 views

NERDTree failing on VIM

NerdTree isn't working with Vim from iTerm2 for me. It will show the current directory listing but won't let me traverse deeper into the file system, but I can traverse upwards. All directory listings ...
9
votes
2answers
5k views

How to open Go2Shell preferences in Mac OSX?

I'm trying to change my default Go2Shell terminal to iTerm2. I've read that Go2Shell preferences are only accessible from the command line, but I'm struggling to find what command actually needs to ...
1
vote
0answers
220 views

iterm2 emacsclient keybindings

I have just switched from using Emacs.app to emacsserver and emacsclient in terminal mode using iterm2 as my terminal emulator. I am having some trouble with some keybindings though. Particularly ...
1
vote
3answers
2k views

iTerm2 zsh oh-my-zsh open tab with same directory

Hi i just installed iTerm2 and tried to open a tab with the same directory as the tab that open it. I tried Zsh: Open a new tab in the same directory answer but still can't get the directory ...
0
votes
1answer
135 views

Precedent for terminal key bindings for Windows or Mac Cmd key

Unix terminals send ASCII codes below 32 for Ctrl + another key, and have at least two ways of sending "meta" (viz. either prefixing code 27 or setting the high bit of an ASCII character). Is there a ...
0
votes
1answer
165 views

Detecting used terminal application (iTerm2)

Can one detect what terminal application is being used? I want the actual application, not TERM env in the question. I'd like to detect iTerm 2 / Terminal.app so I could set OSX specific keyboard ...
3
votes
3answers
2k views

ALT+arrow moving between words in ZSH and iTerm 2

I logged in on one of hosting provider servers and noticed ALT + left and ALT + right moved between words in a shell prompt in a screen. What kind of key bindings I need to configure and where to get ...
0
votes
1answer
2k views

iTerm2 loses “ls” colors if I ssh to a server

Why do I lose ls' colors when I ssh to a server? I would like those colors to be preserved. Is this possible? Should one do something on the server side?
4
votes
2answers
611 views

Can't compile tmux with iTerm support

I'm trying to compile the tmux that has iTerm2 support. This is the error I get: configure.ac:105: error: possibly undefined macro: AC_SEARCH_LIBS If this token and others are legitimate, ...
41
votes
5answers
19k 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 ...
1
vote
1answer
573 views

How to output terminal command into a widget in OSX dashboard?

I want to have a way of outputting a terminal command, like: $ cat todo.org | awk '{ print $1 }' > dashboard_widget Into a dashboard widget, not necessarily the text output of a command. Maybe a ...
10
votes
2answers
1k views

Is there a keyboard shortcut to alternate between color schemes in iTerm2

I am using the Solarized color scheme in iTerm2 and it comes with two themes: one with a light background for daytime hours and one with a dark background for nighttime hours. I am currently ...
0
votes
1answer
204 views

How to search tmux in copy-mode

I ran Ctrl+B [ and tried using '/' (just as in vi) to search for text. But, that didn't work. I'm using iTerm on Mac but I login to a remote server and use tmux there (if that makes any difference).
4
votes
2answers
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 ...
2
votes
1answer
393 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) ...
11
votes
2answers
3k views

Mac OS X: Command-Tab doesn't switch back to fullscreen app

Using the Spaces style fullscreen mode in OS X, I can easily Command-Tab out of a fullscreen app, but trying to Command-Tab back in doesn't take me back to that space, only switches the Menu Bar to ...