iTerm2 is an open source Terminal replacement for OS X

learn more… | top users | synonyms

5
votes
0answers
325 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 ...
3
votes
0answers
14 views

tmux text cut off by split line using iTerm2

I am using zsh, iTerm2, and tmux. When I split the window into multiple panes the line covers up a little bit of the text. Here's a picture of what it looks like: It works fine using terminal, so I ...
3
votes
0answers
93 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
442 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
32 views

Cannot import colour presets into iTerm 2

Long time user of the standard terminal, short term user of iTerm 2. I've found a colour preset I want to use, however after importing them when I select them from Preferences > profiles > load ...
2
votes
0answers
80 views

iTerm2: Numeric keypad enter does not get mapped to <CR>

I've set up iTerm2 to map numpad keys to send correct xterm key codes as suggested in this answer. However, I have an issue with the Enter key: all I get is the bell in my shell. When I try to set up ...
2
votes
0answers
56 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 ...
2
votes
0answers
225 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
42 views

Speedup zsh startup time

I'm on MacOS 10.11. When I open a new tab on Iterm2, it takes almost 2 second to have the prompt. So I guess I have something in .zshrc / .bash_profile / .bashrc that takes times to load. Here are ...
1
vote
0answers
40 views

Select full word in iTerm2 using alt + shift + arrow

Following this advice, I've configured Iterm2 to delete the word when Alt + Backspace. I would like to build a similar functionality for combinations of Alt + Shift + ← | →. With respect ...
1
vote
0answers
103 views

iterm2: save all shell output and view without escape characters

I'm using iterm2 and I want to save all my scrollback buffer. There is an option that is supposed to do this but it saves all the escape characters such that a 90% of the characters in the log are not ...
1
vote
0answers
55 views

tmux + iterm2 integration: can't maximize pane

Is there a way to do this? By this, I mean if you have split panes, you were able to maximize a pane with iterm2 with shift + command + enter. I believe it's possible to do this in tmux as well based ...
1
vote
0answers
54 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 ...
1
vote
0answers
52 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 ...
1
vote
0answers
39 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
39 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
65 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
135 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
55 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
53 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
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 ~/Library/Preferences/...
1
vote
0answers
49 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
69 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
101 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
122 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 auto-...
1
vote
0answers
285 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 M-...
0
votes
0answers
17 views

Iterm 3.0.2 no colors when using ls

I recently upgraded to Iterm 3.0.2 and I noticed that on my local session, both files and directories have the same color when I use ls. This happened in Iterm2, which I fixed by using this answer: ...
0
votes
0answers
10 views

Profile Toggling in iTerm2

Is it possible to have iTerm startup with one custom default profile and then upon the opening of any additional tabs, be another set custom profile? So that essentially there'd be a custom default(...
0
votes
0answers
6 views

Cannot change terminal title in zsh

I'm trying to update my iTerm2 terminal title using the command echo -ne "\e]1;this is the title\a" The title changes to this is the title but then refreshes back to ~ (zsh). Help is appreciated
0
votes
0answers
16 views

How do I { maximize | zoom } the current pane in an iTerm2-integrated tmux session?

How do you zoom the current pane if you're using tmux through the iterm integration? Iterm has its own zoom pane key sequence (by default, shift+cmd+enter), but it only seems to work on native panes, ...
0
votes
0answers
24 views

OSX - Remapping Capslock without admin privileges

What I really want is to use Capslock as a escape key inside Vim (which is being run inside iTerm2). The solution I'm looking for could, for instance, remap Capslock not necessarily to Esc but to ...
0
votes
0answers
37 views

iTerm2 (OS X) change background image for current window from shell?

iTerm2 allows to set a background image or color, either for the current window or the default (used for all new windows). However, can I also set the current window's background image or color from ...
0
votes
0answers
11 views

Stopping terminal tab update on ssh

I understand that this is a possible duplicate question. However, I could not find any satisfying answer and so I am asking this question yet again. When I SSH into a remote machine, I do not want ...
0
votes
0answers
14 views

How do I make cut/kill from iTerm2 go to the system clipboard (Mac)?

This is not inside emacs or vim or anything just at the commandline. If I Cmd-k the current commandline I'd like it to go to the system clipboard. Is that possible?
0
votes
0answers
52 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
14 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
17 views

iTerm2 change color scheme of all tabs

Is it possible to change all color schemes in iTerm2 at once. As soon as it's getting dark outside I usually switch the color scheme to a darker one and the next morning I'm going for a lighter. But ...
0
votes
0answers
32 views

Weird output when setting zsh prompt

I am setting my zsh prompt to be % by setting the BULLETTRAIN_PROMPT_CHAR variable in my .zshrc file but when it starts up the prompt is %f. I have tried \% and it still does the same thing. Note I am ...
0
votes
0answers
42 views

Can I force iTerm2 to always use bright colors?

What the title says. Is there a setting to make iTerm always use bright versions of terminal colors without editing the colors themselves? My OS X terminal seems to be doing that by default, and the ...
0
votes
0answers
13 views

iTerm2 profile - prompt for ip address to ssh?

One of my host is load balanced across multiple ips (10s of them) and I frequently want to ssh to it. My setup is in way that I cannot use the DNS to access them. I want to go to a specific host, say ...
0
votes
0answers
19 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: ~/txt/...
0
votes
0answers
15 views

Scrolling up in iTerm2 shows previous Vim sessions

In iTerm2 (Version 2.1.4), when I scroll up to see previous commands, I'm seeing chunks of previous Vim sessions, which I don't want to see. Any idea why that would be happening and how to fix that? ...
0
votes
0answers
19 views

How can I get iTerm2 on OSX to copy only what I select?

iTerm2 has a very nasty habit of making an assumption of what I want to copy and paste from the terminal. Instead of just allowing me to copy exactly what I highlight, it will expand to what it ...
0
votes
0answers
148 views

iTerm2 color scheme not working

I have trouble setting up colors for iTerm2. I have already checked this answer and done everything it says: Color scheme not applied in iTerm2 But iTerm2 does not show any colour, besides white ...
0
votes
0answers
22 views

iTerm2 drop down on fullscreen app

Is anyone familiar with a workaround for the fact that iTerm2, when set to hotkey mode, switches to a non-fullscreen space rather than dropping down in the current space? The "current space" setting ...
0
votes
0answers
287 views

Zsh gives “permission denied” error on iTerm2

I configured my zsh by downloading the latest using homebrew on Yosemite. So the default shell is /usr/local/bin/zsh on iTerm2 application. However, when I try the command $ .. $ zsh: ...
0
votes
0answers
32 views

tmux + SSH client integration on Windows?

Are there any Windows SSH clients that support native tmux integration similar to iTerm2 on Mac OS X? E.g., iTerm2 can detect multiple tmux panes and displays them as separate iTerm2 tabs. I would ...
0
votes
0answers
16 views

iTerm2 Pane navigation - Not by the order used

I have been using iTerm for a while on my Mac. I want to override the pane navigation to not use the order used. From the documentation, Cmd+] and Cmd+[ navigates among split panes in order of use. ...