iTerm2 is an open source Terminal replacement for OS X

learn more… | top users | synonyms

0
votes
1answer
230 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 ...
12
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
71 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
374 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
375 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
606 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
210 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
3k 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
246 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
570 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
488 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
1k 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
408 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
116 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 ...
14
votes
4answers
13k 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
237 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
530 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
302 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
4k 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
215 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
157 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?
3
votes
2answers
588 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, ...
38
votes
4answers
17k 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
542 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
202 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
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 ...
2
votes
1answer
388 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 ...
6
votes
2answers
3k 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, ...
11
votes
5answers
4k views

Vim configuration slow in Terminal & iTerm2 but not in MacVim

Ideally, I want to use Vim from Terminal or iTerm2. However, it becomes unbearably slow so I had to resort to using MacVim. There is nothing wrong with MacVim, however my workflow would be much ...
14
votes
3answers
15k 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 ...
6
votes
2answers
3k views

Can I use the `<cmd>` key in terminal Vim at all?

Following on from my other recent question: How do I map <cmd>-<shift>-f to run Ack plugin in Vim? Is is possible to use the <cmd> key in Vim at all? If Vim doesn't recognise the ...
0
votes
1answer
334 views

iTerm2 Terminal Too Wide Error

I am using iTerm2 to ssh to various servers. When i use VI to edit a file i get an error that reads 'Terminal Too Wide.' To fix this I use the following command 'stty columns 120.' Is there a ...
19
votes
3answers
24k views

Setting iTerm2 as the default terminal (OSX Lion)

I would like to set iTerm2 instead of terminal.app as my default terminal. Go2Shell for example let you open a terminal to the current directory in Finder. I want to ba able to use iterm2 instad of ...
0
votes
1answer
545 views

Multi-touch screen scroll in iterm2?

I use screen in iterm2 with this screenrc. I try use the scroll with two fingers in the touchpad, but it doesn't work. I get this: Any suggestions?
1
vote
1answer
389 views

Bind CTRL+W to werase (default bash behaviour in Linux/PuTTY) in iTerm2

I use a Mac at home and have changed my modifier keys swapping Command and CTRL, so CTRL+T spawns a new tab in chrome, CTRL+C is copy and so forth. I use Windows/Linux at work and I want a consistent ...
3
votes
0answers
356 views

iTerm2: How to get output of a shell command with applescript

I want to get the output of a shell command run through iTerm2's applescript into an applescript variable. I tried the following but it does not work: tell application "iTerm" activate try ...