iTerm2 is an open source Terminal replacement for OS X

learn more… | top users | synonyms

4
votes
1answer
220 views

Can't scroll back after cat with mosh, tmux and iterm2 setup

My setup is the following: https://filippo.io/my-remote-shell-session-setup When I do apt-get update on my server I can see all the output and am also able to scroll back as I expect. When I do cat ...
3
votes
1answer
169 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 ...
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> ...
2
votes
1answer
156 views

Unintentional vi mode in iTerm on Mac?

I occasionally find that while working in iTerm the default Readline key bindings are replaced with the vi keybindings. For example, I will try to go to the beginning of the line with ctrl-a, and ...
1
vote
1answer
44 views

Possible to bind “Switch to Fullscreen Space” to key combo?

I have several "permanent" Spaces in use and bound to CTRL + 1, 2, 3 I'm running iTerm2 in full screen mode and would like to find a way jump straight to the iTerm "Space" with a key combo (e.g. ...
1
vote
1answer
696 views

Setting custom (Powerline) fonts in the default OSX Terminal app

I was able to set a custom font in Iterm 2 by setting the Non-ASCII option in Iterm's setting. I was not able to find a similar option in the default Mac OS Terminal. How can I do this for Mac OS ...
1
vote
1answer
405 views

Can .bash_profile automatically run without sourcing it in iTerm2?

I am using iTerm2 in Mavericks OSX and made sure I updated to the latest version. My working directory inside preferences is set to Home Directory. I was watching a tutorial on iTerm customization ...
1
vote
1answer
62 views

Running a vim ex command within tmux corrupts pane

I'm running into strange issue where running ack from within vim's ex mode corrupts my tmux pane. I'm using iTerm2. E.g. :!ack "foo bar baz" Results in something like this: where all the ...
1
vote
1answer
226 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 ...
1
vote
1answer
243 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 ...
1
vote
1answer
413 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 ...
0
votes
1answer
33 views

How to know the file size information and download progress indication in iterm2 terminal?

Sometime when I download any file from terminal there is no indication of how small or big file and no progress bar to know the progress. Is there a way to get these features?
0
votes
1answer
139 views

Vim starts with beginning of a “change” command

I'm having an issue with vim startup. Whenever I run vim somefile, it starts as though I pressed c just after startup. So, if I then try to immediately jump to the end of the file with G, it instead ...
0
votes
1answer
27 views

Mac OS X - iTerm updates causing multiple binaries

My question is basically, how do I solve this: Every time I update iTerm a new binary is created and since I use Alfred, my instinct is to just type a name and hit Enter, so I don't even know if I ...
0
votes
1answer
61 views

Why does iterm2 toggle font rendering with every other boot

I don't reboot my mac very often, so I can't really state if this occurs with every reboot/relogin, but I dare to say, pretty much every time the font rendering of my iterm2 becomes thicker or thinner ...
3
votes
0answers
881 views

How to restore my iterm2/zsh session after restart?

I use oh-my-zsh with iTerm2 on osx and I'd like them to retain the same tabs with the same directories and hopefully the same textual history after a restart. Currently after a restart iTerm reopens ...
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
0answers
381 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 ...
2
votes
0answers
163 views

Mouse click only works once with iterm2/tmux/mosh

I'm trying to set up iTerm2 + mosh + tmux to do my remote work. I can get everything to connect up, but for some reason, the mouse response is funky. If I split my tmux window so I have two panes and ...
2
votes
0answers
103 views

iTerm2 Background image and split panes

Is it possible to have background image for the whole window and not every split pane itself? I can't find how to do it anywhere. Thanks in advance
1
vote
0answers
13 views

How to have iTerm 2 change color based on the current directory

I'd like iTerm2 to change colors based on the current directory, for different client projects. How do I do that?
1
vote
0answers
44 views

iTerm2 hotkey window activates non-hotkey windows

When I set iTerm2's hotkey mode on Mavericks, opening the hotkey window also brings any open non-hotkey terminal windows to the front. Is it possible to have iTerm bring focus only to the hotkey ...
1
vote
0answers
18 views

Start new process as pane in iTerm

I work in iTerm a lot, and I am using a script that starts a new process. By default, the process starts in a new tab. Is there any way to tell iTerm that I want to start new processes in a vertical ...
1
vote
0answers
29 views

iTerm2 not pasting newlines for long chunks of code

I’m having issues with iTerm2 not pasting newlines when I copy a certain number of lines and paste it into any interpreter. For example, if I copy the code below and paste it into the R interpreter, ...
1
vote
0answers
92 views

tmux monitor-activity — active activity vs stopped activity

I'm curious if it is possible to have a different visual indicator for active activity (e.g. stream of text) and stopped activity (e.g. command executed, printed a few lines and stopped) in an ...
1
vote
0answers
44 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
49 views

Ruby ri output not coloured in iTerm 2

When I run Ruby ri in an iTerm 2 terminal window, the output is not coloured and I don't know why. Other programs such as Vim work with colour properly. Running ri -f ansi Array.sort results in ...
1
vote
0answers
867 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
0answers
148 views

(n)curses displays appear broken under iTerm2

When accessing any of the *-tui commands under CentOS/Red Hat, or any equivalents on other distributions, my display is completely broken and almost unusable. This is what authconfig-tui running ...
1
vote
0answers
44 views

Wifi issues with iTerm2 as frontmost application on external monitor

I have reproduced this many times yesterday and today, and I am confident that I'm not just looking for patterns where there are none. I have a retina Macbook Pro (OSX 10.8) connected to a Dell ...
1
vote
0answers
133 views

Can I make shift+arrow keys work the same way in iTerm2 as they do in text boxes or the Matlab CLI?

this question has some discussion on why shift+arrow keys don't use the default behaviour of selecting text, but it doesn't have any suggestions on how to make it have that behaviour. I'm ok with it ...
1
vote
0answers
68 views

How do I get Emacs to interpret M-left as previous word?

I'm very used to having Emacs interpret M-left/M-right as backword/forwards word. However, last night, for some reason, Emacs started interpreting M-left as D and M-right as C. I'm wondering how I ...
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
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?
1
vote
0answers
120 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 ...
1
vote
0answers
222 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 ...
0
votes
0answers
8 views

iTerm2 + TMUX closing behaviour

I've just discovered tmux integration with iTerm2 and it's fantastic! The only thing that I'd love to change is the exit behavior on closing the window. The current behavior exit's the tmux session. I ...
0
votes
0answers
15 views

Copy colored output from iterm2 in Mac

Even though the Selection is Yes for "Copy to pasteboard on selection includes color and font style" I have tried few nightly builds. But all of them have failed. Latest tested: Build ...
0
votes
0answers
14 views

Running “subl” command started crashing ITerm 2.1.1 with Oh-My-ZSH

Up until a few days ago, when I would type subl it would open Sublime Text 2. I would use the subl command frequently to open files and directories. Today, I tried to run subl from the command line ...
0
votes
0answers
10 views

Name a tab in iterm2, even with pane splits

I see there are solutions to name tabs in iterm2 when there is a single pane, but it doesn't work well with multiple panes/splits. So if I have two terminals open in a split under a tab, I would need ...
0
votes
0answers
11 views

Find out current iterm2 color scheme?

I know that I can set my color scheme for iterm2 in Preferences -> Profiles -> Colors. I found a scheme that I like, but I can't remember which one it is, and the dropdown from which I selected it ...
0
votes
0answers
19 views

Using iTerm2 to query a CouchDB show function, and syntax-highlight the printed 'html' output?

Is is possible to syntax-highlight the printed output in iTerm2 in the following scenario. I am querying a CouchDB show function which outputs html. An example of the command is as follows: curl -X ...
0
votes
0answers
26 views

Readline stops working randomly

For some reason every 1-3 hours (depending on work load) my shell read command stops accepting input and hitting return renders the ^M character. Something like: Continue? After answering: ...
0
votes
0answers
57 views

iterm2 resize pane/window with command

So iterm2 on the Mac has some proprietary control codes that let you change the profile by sending them to the terminal on the command line. I'm wondering if there's a similar way to set the window ...
0
votes
0answers
126 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
0answers
75 views

Why does iTerm2 print out 1 at start?

my problem is that iTerm print out the 1 value on my zsh when i open it i can't figure it out why. I've checked the advanced setting in my profile configuration but it seems that nothing is added ...
0
votes
0answers
77 views

iTerm2 system-wide hotkey sometimes fails to fire

Periodically the system-wide hotkey I have assigned to iTerm2 fails to switch to that full-screen view. I'm running iTerm2 on OS X Mavericks, and both are up to date. I do most of my browsing in ...
0
votes
0answers
63 views

How to remap control-c to control-shift-c in iTerm2

I have tried a few things. I can't do the karabiner control to command because that breaks my workspace changing keys. I just want control-shift-c to kill/end (like control-c does) and have control-c ...
0
votes
0answers
51 views

Set certain words to appear coloured in iterm2

I am trying to get iterm2 to print certain words coloured (or bold, or whatever) as I am typing them in the terminal. I thought that I can somehow instruct it to check in a dictionary and if it finds ...
0
votes
0answers
888 views

Remap control key in iTerm2 to caps lock key

I want to remap the control key to use the caps lock key in iTerm2. How can I do this?