iTerm2 is an open source Terminal replacement for OS X

learn more… | top users | synonyms

0
votes
1answer
8 views

Fish terminal + iTerm, only run shell integration if terminal is iTerm

iTerm has a shell integration script that enables some fancy features, as in having the ability to scroll up to last prompt (in case if there was a lot of stdout i.e. when compiling some code). ...
0
votes
0answers
12 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
13 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 ...
3
votes
1answer
104 views

iTerm 2 ZSH colors/themes not showed correctly

I have a clean installed mac, running OS X 10.11.4. I have installed iTerm 2, and set it up to use oh-my-zsh. I'm trying to set up a theme for my iTerm. I am trying to use the avit theme. It's ...
0
votes
0answers
10 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
12 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?
2
votes
0answers
25 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 ...
0
votes
0answers
39 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
9 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).
1
vote
0answers
19 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 ...
0
votes
0answers
11 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
1answer
19 views

How can I map page up and down to history search backward/forward on iTerm2?

What I what is to use fn+up and fn+down to perform history search backward/forward on iTerm2? I want to type, let's say vi, and using that key combination receive previous commands with that pattern: ...
0
votes
0answers
25 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
19 views

Getting ctrl+arrows to move word at a time on newest iterm2 [duplicate]

Still struggling with how to simply have ctrl+arrows move by word on a Mac using iterm2 build 2.9.20160206. I know I can add a remapping to my bashrc but I'm guessing there is an easier way to do that ...
0
votes
1answer
59 views

iTerm2 fullscreen causes an empty line at the bottom

When I fullscreen an iTerm2 window, an empty line appears at the bottom of the terminal window. How do I get rid of it? Compare these two screenshots: Windowed (appears as expected) Fullscreen ...
0
votes
0answers
22 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 ...
1
vote
2answers
95 views

iTerm2 -> ssh -> gnu screen -> split window: scroll wheel not working

I'm using Mac OS X as a workstation. With iTerm2, I connect to a remote host (Ubuntu Server) using this command: ssh -t user@host screen -D -R -R But I can't get the scroll wheel to work correctly, ...
0
votes
1answer
23 views

Is there a zsh add-on or an iTerm addon that allows arbitrary string autocompletions?

I often find myself staring at a string that was printed in my terminal, I need to use it in a command, but don't want to move the mouse to copy/paste it. I'm wondering if zsh or iTerm support ...
0
votes
0answers
12 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
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
0answers
11 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? ...
1
vote
1answer
43 views

iTerm2: Clear scrollback buffers for *all* sessions

In iTerm2 (I am using Build 2.1.4 as of this writing), how can I clear scrollback buffers for all sessions. I know that cmd+K will clear current session. Using the same key combination does not work ...
0
votes
0answers
18 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
2answers
20 views

how to fix Tab key in iTerm2+tmux on OSX

when I want to press tab, I need press tab two times in tumx on OSX, how to fix it?
1
vote
0answers
69 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 ...
0
votes
1answer
146 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
104 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
2answers
233 views

Command Line: z is installed but can't find the command

I recently installed iTerm2 and ZSH (with oh-my-zsh) after some months of very light usage of the stock Terminal on Mac OS. I heard of a tool called "z" and installed it via brew with brew install ...
0
votes
2answers
54 views

iTerm2 profile as an “app”

I have recently created a profile that opens nvim automatically, which works fine. However, is it possible to export it to a file/app so I can open nvim straight by ...
0
votes
0answers
19 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
225 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: ...
1
vote
1answer
180 views

Key bindings broken in tmux 2.1

I have the following lines in my tmux.conf: bind C-n next-window bind C-p previous-window Then I have the following key mappings in ITerm2, which send send C-f C-p and C-f C-n to the terminal (my ...
0
votes
0answers
30 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 ...
2
votes
2answers
683 views

iTerm command click to open with Atom

I am trying to figure out how to change iTerm function when CMD+Clicking on a file in an iTerm window to have it open in my default editor, Atom. Currently, the CMD+click function in iTerm opens ...
0
votes
1answer
84 views

Trouble installing fish shell on OS X non-admin user group

I am struggling to install the fish shell on OS X El Capitan. My user structure is setup so I have an administrator account and a standard account. The standard account is the one that I use and ...
0
votes
1answer
29 views

After “:set paste” executed “insert mode's remaps” stop working - VIM (iTerm2)

I have this remaps in my .vimrc inoremap <C-d> <C-o>de inoremap <C-k> <BS> inoremap <C-l> <ESC> inoremap <C-j> <CR> They does work great, but after ...
1
vote
1answer
230 views

In iTerm2 how can I automatically connect to an existing tmux session using -CC?

I've found using iTerm2 and tmux -CC to be quite helpful tying the existing iTerm UI with tmux windows & panes. I'm trying to figure out how to automatically attach to an existing session at ...
0
votes
0answers
15 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. ...
6
votes
4answers
2k views

OS X 10.11 (El Capitan) Making Zsh Very Slow

I just freshly installed El Capitan on my MacBook Pro. I had trouble earlier with the my terminal being too slow while typing in simple commands. I thought it might have been that I need to format my ...
1
vote
0answers
81 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 ...
0
votes
0answers
150 views

How can I stop callservicesd errors I find in Console?

I should have asked this question here, but I cannot move it from the other apple.stackexchange forum. I'm learning Terminal, coding, and scripting. Every so often I check my Console just to see ...
1
vote
0answers
43 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 ...
0
votes
0answers
10 views

Running bash_profile on reboot terminal

If I have a terminal (iTerm2) open on reboot, and ask for OS X to reopen currently open windows on start, it will reopen my terminal in the same directory, but .bash_profile won't be run. why? and ...
1
vote
1answer
108 views

Mac OS X Terminal and iTerm2 cannot type '.' or '/'

As the title says, I'm unable to type the characters . and / in terminal.  Shift+. results in > and Shift+/results in ?, which means the keys actually work. How can I fix this?
0
votes
0answers
27 views

vim C-n Shortcuts with iTerm2 and SSH

I read about similar issues before but I'm not sure it's the same. I use vim on a server through SSH with iTerm2 on my Mac. For some reasons some bindings don't work in vim, e.g. <C-n> or ...
1
vote
4answers
180 views

Is there any way to set the default font to 16pts in iTerm2?

I am going through several fonts such as “Consolas” and “Source Code Pro” and noticed in iTerm2 there is no way to set default size to 16pts. Only 9pt, 10pt, 11pt, 12pt, 13pt, 14pt, 18pt, 24pt,... are ...
0
votes
1answer
16 views

Is it possible to have a shortcut key to go to last tab in iTerm2?

I've looked everywhere and don't see any way to quickly go to last tab in iTerm2. Think of Ctrl+A A in Screen or Ctrl+B B in tmux. Looks like it's not possible natively, any way to fix it via some ...
1
vote
1answer
89 views

ls colors disappear after running zsh

I installed the latest version of zsh on my osx using brew and then went ahead and installed oh-my-zsh. Everything is fine and dandy, but where did my ls colors go? If I run a bash -l inside of that ...
1
vote
0answers
49 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 ...