Questions tagged [iterm]

iTerm is an enhanced terminal emulator for OS X and macOS

iTerm2 is a replacement for Terminal and the successor to iTerm. It works on Macs with OS 10.5 (Leopard) or newer. Its focus is on performance, internationalization, and supporting innovative features that make your life better.

332 questions
568
votes
14 answers

How to set keyboard shortcuts to jump to beginning/end of line?

I can see that Ctrl+left/right jumps to the beginning/end of line. How to change this to Cmd+left/right arrow?
chris
  • 7,222
  • 5
  • 31
  • 37
458
votes
3 answers

How can I scroll up more (increase the scroll buffer) in iTerm2?

How can I scroll up more on iterm2 to get full output? At times, for example if I am doing unit tests, the errors are so large than I need to keep scrolling up to which I cannot scroll up anymore but the output continues further up beyond the top of…
Mohamed El Mahallawy
  • 13,024
  • 13
  • 52
  • 84
362
votes
8 answers

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/ I also copied ~/Library/Preferences/com.googlecode.iterm2.plist but it keeps giving me this…
Alex Cory
  • 10,635
  • 10
  • 52
  • 62
355
votes
6 answers

iTerm2 keyboard shortcut - split pane navigation

I have been a long time user of the standard Mac Terminal. Decided to experiment with iTerm2 after hearing good things about it from my colleagues. One of the more useful features I am seeing on iTerm2 is its split panes (much like vim split…
Calvin Cheng
  • 35,640
  • 39
  • 116
  • 167
258
votes
26 answers

lose vim colorscheme in tmux mode

I'm running iterm2 and when I'm in tmux mode the colorscheme I have set in vim does not show up. Only the color scheme I've set in iterm. If I run vim from shell the colorscheme appears correct - its only when I'm in tmux mode. I've tried setting…
tristen
  • 4,605
  • 4
  • 24
  • 19
179
votes
7 answers

How do I make iTerm terminal notify me when a job/process is complete?

A notification center notification would be ideal but growl, bounce dock, sound, etc would be fine, too (or if this can only be done in Terminal.app I'd be willing to switch back). Is there an option somewhere in iTerm to turn on notifications or is…
truth1ness
  • 4,831
  • 5
  • 21
  • 19
155
votes
4 answers

ZSH iterm2 increase number of lines history

Not sure if this is zsh, iterm2 or the interaction between them. Trying to change the number of recallable lines in the terminal - not the command history, the output history. In .zshrc I have…
xxjjnn
  • 14,591
  • 19
  • 61
  • 94
134
votes
5 answers

iTerm2: How to expand split pane temporarily?

Is there a way to temporarily expand a split pane into full tab and go back again when done? I am looking for a keyboard shortcut to do so. The use case is to be able to temporarily switch to full-screen on demand.
Pratik Khadloya
  • 12,509
  • 11
  • 81
  • 106
130
votes
4 answers

Tmux vs. iTerm2 split panes

Why should I use tmux when iterm2 has split panes? I have never used tmux, and want to know if there are advantages to using that in my workflow instead of the split pane features iterm2 has. I really like the dimming of inactive windows that…
pizza247
  • 3,869
  • 7
  • 33
  • 47
99
votes
1 answer

Bash keyboard shortcuts in iTerm like Alt+d and Alt+f

Everyone at work recommended iTerm2 to me instead of the native Terminal. But iTerm2 doesn't seem to allow me to use bash shortcuts like Alt+B and Alt+F to jump back/forward between tokens, or Alt+D to delete a word. I can't imagine this isn't…
rewolf
  • 5,561
  • 4
  • 40
  • 51
92
votes
2 answers

iTerm2: Stopping the inactive pane from dimming

I'm using irssi in one pane and nicklist.pl in the other, and whenever I'm in the irssi pane, the nicklist pane is dimmed: How do I stop the inactive pane from dimming?
callumacrae
  • 8,185
  • 8
  • 32
  • 49
88
votes
11 answers

Incorrect colors with vim in iTerm2 using Solarized

I am having a strange issue with iTerm2, in terminal vim (non-gui) and the solarized color scheme. First, I have set iTerm2 to use the dark solarized colour scheme. I am also using solarized for vim. I have the following lines in my .vimrc set…
Zameer Manji
  • 3,017
  • 5
  • 31
  • 42
79
votes
3 answers

How to turn off word wrap in iTerm2?

How to turn off word wrap in iTerm2? Is there a specific command to do so or in the preferences? I am trying to avoid having the text run down to the next line. I would rather scroll side to side.
Beast_Code
  • 3,097
  • 12
  • 43
  • 54
78
votes
10 answers

iTerm2 keyboard shortcut for moving tabs around

Say I want to place one tab next to another. Currently I do this by clicking and dragging. This increases productivity because if I'm switching between 2 regular tasks in iTerm I want to place the tabs next to each other so I can switch between them…
Eddy
  • 6,661
  • 21
  • 58
  • 71
69
votes
4 answers

How to delete a word in iTerm in mac os

I am using iTerm as a terminal in my mac. I am not able to delete a word in command line for ex in command cd /path/to/dir, i want to delete just path word , then how can i do that in iTerm. basically what is the shortcut to delete a word in iTerm.…
Rohit
  • 761
  • 1
  • 6
  • 8
1
2 3
22 23