iTerm2 is an open source Terminal replacement for OS X

learn more… | top users | synonyms

0
votes
0answers
7 views

Iterm hotkey profile is not opening with current full screen app

I am trying to use iterm in full screen mode but problem I am facing it is, It always switch to another application in full screen mode in place of using current one. How to configure the hotkey ...
0
votes
0answers
5 views

How can I prevent the iTerm2 hotkey window from losing focus?

Is there a way to prevent the iTerm2 hotkey window from losing focus when another window is clicked? I'm aware of this question already, but the answer does not work for me. Unchecking "Hotkey window ...
0
votes
0answers
21 views

How to open iTerm2 version 3 in Forklift

I am looking for a solution which can open iTerm2 version 3 as the default terminal. For iTerm2 version 2 there were multiple AppleScripts on the internet which worked well for opening the current ...
0
votes
0answers
22 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: ...
2
votes
1answer
56 views

Disable autocomplete hints on iTerm2

I would like to disable the autocomplete history things that come up on the iTerm, as shown in the picture below: I would like to get rid of the blue hint that comes up when I start typing a ...
1
vote
0answers
60 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 ...
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
7 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
1answer
33 views

Is it possible to have vim use different colors than the iTerm profile?

My vim currently uses the colors defined by my current iTerm profile. Is it possible to have vim use a separate set of defined colors? This way I could have one look for my terminal and a different ...
3
votes
0answers
24 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 ...
0
votes
0answers
18 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
1answer
205 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
33 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
47 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
288 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
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
15 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
36 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
56 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
16 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
45 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
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
1answer
37 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
34 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
103 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
47 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
238 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
25 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
14 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
18 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
68 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
20 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
25 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?
2
votes
0answers
84 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
219 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
166 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
449 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 z....
0
votes
2answers
236 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 double-clicking/quicksilver/...
0
votes
0answers
31 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
320 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
192 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
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 ...
5
votes
2answers
1k 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
94 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
31 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
348 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
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. ...