iTerm2 is an open source Terminal replacement for OS X

learn more… | top users | synonyms

0
votes
0answers
10 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
1answer
14 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
0answers
13 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
5 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
9 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
10 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
14 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
15 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
18 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?
0
votes
0answers
38 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
63 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
59 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
79 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
20 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
13 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
101 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
156 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
25 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 ...
1
vote
2answers
231 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
54 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
28 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
0answers
117 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
14 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. ...
5
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
41 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
95 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
28 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
90 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
20 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
128 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 ...
1
vote
1answer
14 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
58 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
45 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
1answer
41 views

I can't replace line breaks in vim and iterm

In Vim in iTerm, I frequently encounter issues surrounding line breaks. For example, if I have a file containing the dreaded ^M most online tutorials will say that to perform a replacement I use a ...
0
votes
0answers
39 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 ...
1
vote
2answers
264 views

Emacs cursor is invisible in tmux in iterm2

When I try to use emacs -nw inside a tmux pane under iterm2, the cursor is invisible. This behavior is present regardless of which theme I use in iterm2. I'm using emacs version 24.5 on Mac OS X ...
0
votes
0answers
42 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 ...
2
votes
0answers
36 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 ...
1
vote
0answers
34 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 ...
5
votes
4answers
334 views

“^[[O” and “^[[I” appearing on iTerm2 when focus lost

I’m using iTerm2 2.1.1 on Yosemite. No tmux. When iTerm loses focus (when switched to another application by Cmd-Tab or clicking another window), a ^[[I and ^[[O seems to be sent to the terminal. ...
0
votes
0answers
20 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 ...
1
vote
1answer
33 views

What is 'execute:' on the command line, and how to I avoid it?

So I am using iTerm 2 on mac OSX, running zsh in case any of this is relevant. I must have clicked something by accident, because this dialog appeared, and I can't seem to dismiss it: Everything ...
1
vote
1answer
133 views

Delete iTerm saved window arrangement

I have saved a window arrangement in iTerm2 that I want to remove. I found this file: ~/Library/Preferences/com.googlecode.iterm2.plist but it isn't really editable. How can I delete a window ...
1
vote
0answers
32 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?
0
votes
1answer
137 views

color scheme setup for iTerm

How do you setup color scheme of iTerm on Mac? For color scheme, I mean using different color to display folder name, file name, machine name, etc. thanks in advance, Lin
0
votes
0answers
32 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
1answer
195 views

How to change the color of the default title in iTerm2

Every time I execute a command, it's difficult for me to find where is the start point of the results comes from my last command. So I want to make the default line "Arthur-Mac-mini..." change color, ...
3
votes
0answers
126 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 ...
0
votes
0answers
113 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 ...