iTerm2 is an open source Terminal replacement for OS X

learn more… | top users | synonyms

1
vote
2answers
116 views

Setting non-contiguous text selection on iTerm and Chrome in OS X

How do I set a selection of non-contiguous text in the latest version of iTerm2 and Chrome in OS X 10.8.3?
0
votes
1answer
16 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
11 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. ...
7
votes
3answers
800 views

iTerm2 Vim alt+right/left arrow

As a Linux user, I am very used to jump from word to word in vim/nano using ALT+left or right. This doesn't seem to work properly using iTerm, I am using zsh, I tried adding; bindkey -e bindkey ...
9
votes
2answers
626 views

Is there a keyboard shortcut to alternate between color schemes in iTerm2

I am using the Solarized color scheme in iTerm2 and it comes with two themes: one with a light background for daytime hours and one with a dark background for nighttime hours. I am currently ...
2
votes
0answers
169 views

Powerline Patched Fonts on OSX 10.9.3 - iTerm2 & Chrome

TL;DR 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 ...
2
votes
1answer
87 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, ...
0
votes
1answer
20 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 ...
2
votes
1answer
159 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
155 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.
0
votes
3answers
250 views

iterm2 - open new tab with same profile

I'm switching from Terminal.app Pretty straightforward, but I can't find it in the settings: I'd like that when I open a new tab (with cmd-t (or btw also with oh-my-zsh's osx plugin's tab command)), ...
0
votes
1answer
28 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
65 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 ...
0
votes
1answer
44 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 ...
3
votes
2answers
468 views

Can't compile tmux with iTerm support

I'm trying to compile the tmux that has iTerm2 support. This is the error I get: configure.ac:105: error: possibly undefined macro: AC_SEARCH_LIBS If this token and others are legitimate, ...
0
votes
0answers
68 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
37 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 ...
0
votes
1answer
60 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
0answers
73 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 ...
0
votes
0answers
70 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 ...
0
votes
1answer
73 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
8 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
3answers
1k views

ALT+arrow moving between words in ZSH and iTerm 2

I logged in on one of hosting provider servers and noticed ALT + left and ALT + right moved between words in a shell prompt in a screen. What kind of key bindings I need to configure and where to get ...
2
votes
4answers
444 views

How can I partially clear my terminal scrollback?

I want to partially clear my terminal scrollback history, but only from where I have selected with my mouse in the scrollback and up. Is this possible? I'm on a Mac, and I use iTerm2 and Terminal.
6
votes
3answers
219 views

How to identify the terminal from a script?

And don't say "$TERM" – it's always xterm. How can a bash script tell what terminal it's running in, specifically whether it's iTerm, Terminal.app, or actually an xterm? I ask because reset does not ...
1
vote
2answers
67 views

How do I launch a command file (e.g. *.sh) in a separate shell interaction utility (e.g. iTerm2) on my user's login?

iTerm2 is an awesome utility and makes my interaction w/ the command line much easier. There are a lot of update commands I run on a daily basis, and thought it would be amazing if those could be ...
0
votes
1answer
32 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
1answer
81 views

How do I enable setting tab colors on iTerm2?

Using iTerm2, I notice my peers have an option to right-click the menu and select a color for it. I don't have that option, and right-clicking only gives me the options to 'Select', 'Close Tab', and ...
11
votes
4answers
7k views

More crisp font for iTerm on OSX

On iTerm on OSX Mountain Lion the default Monaco font is not very good for white on black text Aliased text is ugly Anti-aliased text is too bold I would prefer more crisp anti-aliased font. ...
0
votes
1answer
75 views

iTerm2 shows up on every Space. How to keep it from doing so?

For some reason, iTerm2 windows show up on every one of my "Spaces" (aka Desktops). Right clicking on its icon in the Dock and looking at "Options" reveals "Assign To: None", just like every other ...
0
votes
0answers
27 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 ...
30
votes
2answers
10k views

How can I get control+left arrow to go back one word in iTerm2?

I was reading up in the Linux manual and I noticed that it said I could use control+left and control+right to move forward and back words in the terminal while editing. "Pressing Ctrl plus the ...
0
votes
1answer
26 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. ...
1
vote
1answer
72 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
500 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 ...
0
votes
2answers
68 views

Open iTerm2 with ctrl+ctrl?

I recently switched from TotalTerminal (formerly Visor) to iTerm2 on Mac OS X. I used to be able to open TotalTerminal with the shortcut ctrl+ctrl (two quick taps). Is this same shortcut possible in ...
0
votes
1answer
27 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 ...
1
vote
3answers
104 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 ...
3
votes
1answer
125 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
2answers
966 views

How do I get the numpad to work in vim using iterm2 on osx with term=xterm?

My numpad works in iterm2 (bash), but it inserts characters instead of numbers in insert mode for vim. How can I get vim to recognise the correct escape codes. I have tried editing the escape codes ...
9
votes
2answers
2k views

Mac OS X: Command-Tab doesn't switch back to fullscreen app

Using the Spaces style fullscreen mode in OS X, I can easily Command-Tab out of a fullscreen app, but trying to Command-Tab back in doesn't take me back to that space, only switches the Menu Bar to ...
0
votes
0answers
40 views

How to rearrange windows into tabs with iterm2

I'm using iterm2--tmux--tmuxinator integration. That's awesome. However, iterm2 wants to open up a different window for each window, and there's no obvious way to configure that to use tabs. The only ...
0
votes
1answer
48 views

Opening new shell makes browser open Apple “man” page

Every time I start, or open a new shell within iTerm/Terminal, the default browser loads a (broken) Apple man page. The preference file gives no clue as far as I can see as to why this occurs. Does ...
0
votes
1answer
30 views

Running a vim ex command within tmux corrupts pane

I'm running into strange issue where running ack from within vim's ex mode corrupts my tmux pane. I'm using iTerm2. E.g. :!ack "foo bar baz" Results in something like this: where all the ...
0
votes
1answer
90 views

Can .bash_profile automatically run without sourcing it in iTerm2?

I am using iTerm2 in Mavericks OSX and made sure I updated to the latest version. My working directory inside preferences is set to Home Directory. I was watching a tutorial on iTerm customization ...
10
votes
3answers
7k views

Color scheme not applied in iTerm2

I haven't been able to apply any color scheme to iTerm2. It looks like that the Basic Colors are applied, but the ANSI Colors are not (as shown in Preferences>Profiles>Colors). Using Mac OSX ...
1
vote
0answers
54 views

How do I change iTerm2's visual bell to just a flashing screen?

I know I have seen this set on other computers, but I'm uncertain how to change this myself. Also, I've tried changing bell.png in: ~/Applications/iTerm.app/Contents/Resources/bell.png However, I'd ...
2
votes
1answer
44 views

Weird Tmux issue

When attempting to split Tmux windows by using commands, I get the opposite effect of what one should expect: The command tmux split-window -v Produces a horizontal split, while the command ...
3
votes
3answers
1k views

iTerm 2 window resizing

My iTerm 2 window is up against the menubar at the top of the screen. When I resize the window vertically from the top to the bottom, a small gap is always left. It never resizes down fully to the ...
0
votes
2answers
68 views

iTerm2 & Terminal Giving >> [33[01;32m]u@h[33[00m]:[33[01;36m]w[33[00m]$

I opened iTerm2 and it changed the prompt to.. [33[01;32m]u@h[33[00m]:[33[01;36m]w[33[00m]$ I have no idea how this happened, and I can't figure out how to change it. I went to terminal ...