iTerm2 is an open source Terminal replacement for OS X

learn more… | top users | synonyms

2
votes
2answers
886 views

Keyboard shortcut for switching panes in tmux in iTerm2 on OS X

I have tmux installed with iTerm2 on OS X. While I can do Cmd+left/right to switch between tabs, I cannot seem to be able to switch between panes under the same tab using Ctl+b o (that is, Control ...
3
votes
1answer
124 views

Add sound to keystrokes in iTerm2 / zsh

I've been searching for quite a while now, but haven't found anything. I want to spice my terminal up a bit more than just colorizing it – I also want to add specific sounds to keystrokes, newlines ...
3
votes
1answer
1k views

iTerm2 vim cannot map alt key

I'm having trouble trying to map the alt-key bindings on vim in iTerm2. I want to map shortcuts for switching between buffers like this: map <A-Right> <C-w>l map <A-Left> ...
2
votes
1answer
27 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 ...
1
vote
1answer
30 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. ...
1
vote
1answer
293 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 ...
1
vote
1answer
179 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 ...
1
vote
1answer
199 views

iTerm 2 change row size using AppleScript

I want to change the height of my terminal window using a script. Currently this is what I have come up with: tell application "iTerm" activate tell the current terminal tell the ...
1
vote
1answer
234 views

Window style not applied to iTerm2 in Lion

I'm messing with my default profile in iTerm2 to see the difference between normal, fullscreen and top of screen windows. However, the window doesn't seem to change out of "normal" mode, even if the ...
1
vote
1answer
356 views

Bind CTRL+W to werase (default bash behaviour in Linux/PuTTY) in iTerm2

I use a Mac at home and have changed my modifier keys swapping Command and CTRL, so CTRL+T spawns a new tab in chrome, CTRL+C is copy and so forth. I use Windows/Linux at work and I want a consistent ...
0
votes
1answer
73 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
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
37 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
49 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
82 views

Is it possible to get a “reverse video” effect for selected text when using iTerm2 (like gnome-terminal)?

I've been developing in linux at my day job for the past year or so and while I'm quite happy to be back in OS X I'm missing some features from Ubuntu/Gnome. Is it possible to get the reverse video ...
0
votes
1answer
512 views

Weird distance between margin and cursor (iTerm2 + tmux)

I'm running iTerm 2 on 10.8 and I've installed zsh with oh-my-zsh and tmux (both from homebrew). When running zsh in iTerm it's all good, however, as soon as I run tmux, there is this weird distance ...
0
votes
1answer
196 views

How to search tmux in copy-mode

I ran Ctrl+B [ and tried using '/' (just as in vi) to search for text. But, that didn't work. I'm using iTerm on Mac but I login to a remote server and use tmux there (if that makes any difference).
0
votes
1answer
321 views

iTerm2 Terminal Too Wide Error

I am using iTerm2 to ssh to various servers. When i use VI to edit a file i get an error that reads 'Terminal Too Wide.' To fix this I use the following command 'stty columns 120.' Is there a ...
0
votes
1answer
504 views

Multi-touch screen scroll in iterm2?

I use screen in iterm2 with this screenrc. I try use the scroll with two fingers in the touchpad, but it doesn't work. I get this: Any suggestions?
3
votes
0answers
77 views

iTerm 2 running tmux session causes “startup disk almost full” randomly

Anytime I run a tmux session, disk space will randomly begin filling up and the computer will slow down, then everything goes back to normal. This happens periodically. I am using iTerm 2. Does ...
3
votes
0answers
324 views

iTerm2: How to get output of a shell command with applescript

I want to get the output of a shell command run through iTerm2's applescript into an applescript variable. I tried the following but it does not work: tell application "iTerm" activate try ...
1
vote
0answers
6 views

iTerm2 not pasting newlines for long chunks of code

I’m having issues with iTerm2 not pasting newlines when I copy a certain number of lines and paste it into any interpreter. For example, if I copy the code below and paste it into the R interpreter, ...
1
vote
0answers
29 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
1
vote
0answers
40 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 ...
1
vote
0answers
428 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 ...
1
vote
0answers
319 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
0answers
106 views

(n)curses displays appear broken under iTerm2

When accessing any of the *-tui commands under CentOS/Red Hat, or any equivalents on other distributions, my display is completely broken and almost unusable. This is what authconfig-tui running ...
1
vote
0answers
216 views

emacsclient super key or hyper key in iterm2

What the title says: I want to switch to using an emacs-server / emacs-client model instead of using the GUI for Mac OS X. I use iTerm2. I would like to map the function key (fn) to super or hyper. I ...
1
vote
0answers
41 views

Wifi issues with iTerm2 as frontmost application on external monitor

I have reproduced this many times yesterday and today, and I am confident that I'm not just looking for patterns where there are none. I have a retina Macbook Pro (OSX 10.8) connected to a Dell ...
1
vote
0answers
83 views

Can I make shift+arrow keys work the same way in iTerm2 as they do in text boxes or the Matlab CLI?

this question has some discussion on why shift+arrow keys don't use the default behaviour of selecting text, but it doesn't have any suggestions on how to make it have that behaviour. I'm ok with it ...
1
vote
0answers
64 views

How do I get Emacs to interpret M-left as previous word?

I'm very used to having Emacs interpret M-left/M-right as backword/forwards word. However, last night, for some reason, Emacs started interpreting M-left as D and M-right as C. I'm wondering how I ...
1
vote
0answers
56 views

Is it possible to use Vim plugin CSExact with iTerm2?

I'm a bit anal about my color schemes, and in order to get really nice colors in Vim, I'm trying the CSExact plugin. I'm not sure if it's supposed to work at all in iTerm2 though? My terminal is set ...
1
vote
0answers
30 views

overlining support in terminal

when I enter printf "\e[4m%s\e[0m\n" TESTING into iterm or osx terminal, testing returns underlined. Are there any terminals (mac or linux) that would support printf "\e[53m%s\e[0m\n" TESTING?
1
vote
0answers
113 views

iTerm auto-capitalising everything

I recently bought a Mac Mini in the office. I had installed Mountain Lion Developer about a month before the official release. Everything worked perfectly except for the fact that in iTerm it'd ...
1
vote
0answers
200 views

iterm2 emacsclient keybindings

I have just switched from using Emacs.app to emacsserver and emacsclient in terminal mode using iterm2 as my terminal emulator. I am having some trouble with some keybindings though. Particularly ...
0
votes
0answers
5 views

Can't scroll back after cat with mosh, tmux and iterm2 setup

My setup is the following: https://filippo.io/my-remote-shell-session-setup When I do apt-get update on my server I can see all the output and am also able to scroll back as I expect. When I do cat ...
0
votes
0answers
12 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?
0
votes
0answers
169 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
34 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
0answers
23 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 ...
0
votes
0answers
47 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
25 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 ...
0
votes
0answers
26 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
0answers
14 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
0answers
27 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
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 ...
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 ...
0
votes
0answers
93 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
0answers
57 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
0answers
716 views

Remap control key in iTerm2 to caps lock key

I want to remap the control key to use the caps lock key in iTerm2. How can I do this?