Tagged Questions

iTerm2 is an open source Terminal replacement for OS X

learn more… | top users | synonyms

0
votes
1answer
21 views

“broken pipe” after every terminal command

I’m running Mac OS X 10.10 (Yosemite) with iTerm2 and Oh-My-Zsh. After every command I run—even if the command is successful—I receive the error “broken pipe.” How can I troubleshoot what is ...
1
vote
1answer
26 views

iterm2 ssh is using escape chars instead of “esc”, “left”, “right” buttons

Silly question, but when I am ssh'ed inside iterm2, the arrow keys and esc become escape chars, e.g. right becomes "^[[C". In the faq it states: For the normal mode, iTerm2 generates ESC [ ...
2
votes
1answer
21 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 ...
0
votes
3answers
53 views

mapping jj to escape in macvim works but not in terminal vim

In my vimrc I have: inoremap jj <ESC> Using the latest macvim I can hit jj and i'll jump from insert to command mode, but using the same vimrc with just regular vim in iterm2 it just inserts ...
0
votes
0answers
6 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?
1
vote
1answer
19 views

Iterm on top of all windows? [duplicate]

Is there a possibility for Iterm to always be on top? I have seen some issues but don't know whether it's already implemented. Issue 2640 in iterm2: Always on Top function
-1
votes
1answer
19 views

How send tmux prefixer to remote server using iterm2

This is my first time using tmux and I have a problem. I have a remote server that I am connecting to it using ssh(using iterm2). Since opened, when I try to send commands like ctrl+b+c command+b+c ...
0
votes
0answers
106 views

iTerm2 performance vs Terminal.app

I prefer iTerm2 for its features, but Terminal.app outperforms it in terms of responsiveness. I mostly notice this in Vim: iTerm gets choppy during scrolling and/or rapid cursor movement. Is there ...
0
votes
0answers
29 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 ...
0
votes
2answers
68 views

How can I colour-code files and directories in my shell environment?

I've seen many screencasts online in which the files and directories are colour-coded differently for ease-of-use. I'd like to achieve the same on in my bash terminal, on OS X 10.9 and using iTerm2. ...
0
votes
0answers
20 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 ...
1
vote
0answers
25 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
0
votes
0answers
42 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
22 views

Disable mouse reporting in a terminal session after tmux exits unexpectedly

I currently use iTerm2 and frequently SSH into remote servers and start a tmux session. On all of those servers, when SSH'ing into them, I automatically create a tmux config that enables mouse ...
1
vote
1answer
97 views

iTerm2 pin Visor (hotkey) window

Is there anyway to pin (keep on top) the Visor / hotkey window for iTerm2? Every time I give focus to another window (e.g. Chrome for documentation), iTerm2's hotkey window disappears. I have to ...
0
votes
1answer
48 views

ssh session immediately on starting xterm

What's the most elegant way to start an xterm window that, instead of opening a bash shell for the local computer and requires me to execute my ssh command manually, opens an ssh session for remote ...
1
vote
1answer
102 views

GNU screen changes vim syntax highlighting colors

I am trying to use vim inside a GNU screen session, but whenever I open vim inside screen the syntax highlighting uses completely different colors when compared to when I open vim outside GNU screen. ...
0
votes
0answers
22 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
1answer
59 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
0answers
13 views

Making meta+tab change window in iterm2 with OSX

By default on OSX, meta+tab changes windows. In iterm2 I've opted to swap the left control and left meta keys, which means that in order to change windows I need to press Control+Tab, which is ...
0
votes
1answer
15 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
31 views

Create iTerm2 startup configuration

iTerm allows one to save a window arrangement, I'd like to know if (and then how) I can extend this facility to do the following: Save the name of each tab so that each tab in the restored window ...
0
votes
0answers
26 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 ...
0
votes
1answer
19 views

iTerm2 2.0 Unable to resize the main window

Ever since I updated to the latest version, my iTerm window is not taking full screen. Even more weird the Maximize/ minimize buttons are missing. This 50% window arrangement is really irritating. ...
1
vote
0answers
27 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 ...
0
votes
1answer
49 views

Input accents in iTerm with international keyboard

I have an international keyboard where accents are inserted doing ALT+` e ==> è ALT+e e ==> é In Terminal.app this works correctly, in iTerm2 it doesn't. I get a bell sound when I ...
1
vote
1answer
28 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. ...
6
votes
1answer
2k views

Powerline Patched Fonts on OSX 10.9.3 - iTerm2 & Chrome

I'm looking for a working solution for rendering powerline characters on OSX in iTerm2 and Chrome. There's a lot of documentation around I've attempted to use several methods, none seem to work ...
0
votes
1answer
34 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 ...
0
votes
1answer
46 views

zsh and Ruby print issue

Has anyone come across an issue where Ruby's print method leaves behind a % at the end of the line using zsh? I'm using oh-my-zsh (https://github.com/robbyrussell/oh-my-zsh) with iTerm2. Here is an ...
0
votes
1answer
280 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 ...
2
votes
1answer
140 views

Coloured commands in iTerm

Previously I had a friend to set up my iTerm2 environment for me, and I got used to it. Since I changed computers, I now have to setup my environment again. I used to use ir_black as my iTerm2 theme, ...
1
vote
2answers
611 views

mac os x byobu vertical split using iTerm, tmux, zsh

How to get vertical split on Mac OS X in byobu? Ctrl + F2 is not working. It open new window instead of spliting the current. In oposite spliting horizontaly with shift + F2 works ok.
2
votes
1answer
742 views

Remote server, iTerm2, and tmux integration

I want to be able to start a tmux session on a remote server, and then use iTerm2's native windows and split screens on my local machine. For example, let's say my remote server has a tmux session ...
1
vote
0answers
375 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 ...
0
votes
1answer
59 views

Using \r in bash PS1

I was getting a little tired of my typeaheads in Bash from messing up the PS1. For instance, I would execute a command, like ls, and while it is running, start typing the next command, like echo, and ...
1
vote
0answers
286 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 ...
1
vote
1answer
149 views

How do I send Ctrl-; in iterm2?

How can I send Ctrl+; in iterm2 (emacs)? There seems to be a solution here, here and here These are close to what I want, but I am still unable to make it work.
0
votes
1answer
317 views

Setting window title with iTerm and Fish

I want to set up a custom profile in iTerm2 that connects directly to a remote machine in tmux, with some custom SSH arguments. I have a fish function that does this, called "ss". When I have this ...
0
votes
0answers
10 views

Changing iTerm2 preferences doesn't do anything

When I make changes in iTerm2 preferences on OSX, the changes do not appear right away, nor do they appear when I restart iTerm2. Any clues on what is going on? Info: I'm using Build ...
2
votes
1answer
783 views

How to automatically restore window arrangement from last time in iTerm?

I have two old Macs, both have iTerm2 installed and could automatically restore window arrangement (tabs with different directories and colors) from last time after launch. I forget what ...
0
votes
1answer
46 views

Iterm2 on-screen CR/LF?

What are these arrows with numbers that show up in my iTerm2 terminal window, just next the right margin?
0
votes
0answers
33 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 ...
2
votes
1answer
170 views

iTerm2: Alt-Dot functionality with Cmd-Dot

Is there any known way to achieve the "insert last command argument"-functionality that is usually available in Bash by typing Alt-. (Alt and period) on OSX using iTerm2? The ways I know this should ...
0
votes
1answer
39 views

iTerm2: fix for choppy/jumpy cursor movement?

I just started using iTerm2 and I'm loving it, except that cursor movement is smoother on the Terminal.app that comes with OSX. I have my key-repeat speed pretty high, which makes it more noticeable. ...
0
votes
1answer
29 views

Is there a way to Command-N a new term ssh'd into another server?

I'm becoming fond of iTerm2, especially since my dumb mighty mouse doesn't do such a great job at 3-button emulation, or I'd stick with X, but I digress. Some background: In my X environment, I can ...
0
votes
0answers
91 views

Map hex key code into escape sequence?

In iTerm I can make a key combination send a Hex code to my terminal. I know how to capture key codes like left shift - 0x38 F2 - 0x78 So originally I thought my Hex code to send the key ...
3
votes
1answer
414 views

Rename Iterm2 tab from within tmux

I can use the following function to rename a iterm2 tab and that works great. function rename_tab { echo -ne "\033]0;"$@"\007" } However, if I run this function while in a tmux session, then ...
1
vote
3answers
192 views

Incorrect hostname in OS X?

I'm not sure why the hostname is now jessica-s-phone. I am on a public wifi, and some googling revealed that the hostname is set by a DNS, so is it possible my iTerm chose someones phone as the ...
0
votes
1answer
1k views

Iterm2: Automate sending text to shell upon start

Using profiles you can send text to the shell at the start of a session, under "send text at start". I'd like to do this 3 times in succession, but it looks like there's only one string allowed. Does ...