`iterm2` is a GPL terminal emulator available on macOS.
Questions tagged [iterm2]
859 questions
0
votes
0 answers
Using heroku_san gem, rake logs:tail can't quit
Using iTerm2 on Mountain Lion, how can I stop the tail of logs on heroku?
Ctrl-C doesn't work.
Workaround is to kill the process id, but that is pretty inconvenient.
I opened an issue for this:…

justingordon
- 12,553
- 12
- 72
- 116
0
votes
1 answer
How to base vim colors off of iTerm colors?
I recently updated my iTerm color scheme and when I make a selection in visual mode (using vim) the color is awful. iTerm has some color options for Selection and Selection text what I would like to use as guibg and guifg respectivly. I tried this…

cadlac
- 2,802
- 3
- 18
- 34
0
votes
1 answer
How to disable table key in iTerm2
I am using zsh and iTerm2. I always use the Tab-key when i want to autocomplete the command. But if there is no command to be autocompleted, the cursor will move forward which is not what i want.
So is there a way to disable the cursor that moves…

Foredoomed
- 2,219
- 2
- 21
- 39
0
votes
1 answer
Loading a new vim colorscheme
I am trying to load a new vim colorscheme without any luck.
I have downloaded the railscasts.vim scheme and have put this in:
~/.vim/colors
My .vimrc looks like this:
colorscheme railscasts
syntax on
set number
I don't see any change in the vim…

BIOS
- 1,655
- 5
- 20
- 36
0
votes
1 answer
tmux-powerline status bar works in terminal not in iterm2
Using the same theme, .tmux-powerlinerc, and .tmux.conf, my tmux-powerline status line works in Apple Terminal, but not in iTerm2. In iTerm2 it doesn't show the left status.
After I first installed tmux-powerline and configured it, the status line…

Mark Nichols
- 1,407
- 2
- 19
- 25
0
votes
1 answer
Solarized color setup on Vim and iTerm2 - NonText chars highlight color displayed incorrectly
I use iTerm2 (Build 1.0.0.20130319) and Vim (bin of MacVim Snapshot 66) on top of OS X 10.7.5 as my CLI editing team.
iTerm2:
Color scheme: Solarized Dark
Terminal type: xterm
Minimum contrast: lowest
Transparency: none
Dimming: disabled
Background…

Saucier
- 4,200
- 1
- 25
- 46
0
votes
2 answers
mouse capturing differences between Terminal.app with MouseTerm SIMBL plugin and iTerm2
iTerm2:
Mouse reporting works out of the box, works in Vim, works fully in Tmux, mouse wheel reporting works in Vim and for navigating Tmux history, but mouse wheel reporting does not work in manpages, does not work in git log, does not work in…

Steven Lu
- 41,389
- 58
- 210
- 364
-1
votes
1 answer
how to undo "source" command on macos terminal
I was installing iterm2 on my mac (Ventura 13.4.1). While I was changing iterm2 config (installed oh-my-zsh and powerlevel10k, added plugins)
I accidently ran source ~/.zshrc on my mac built-in terminal and now see this
How do I revert it to the…

Jun
- 1
- 2
-1
votes
1 answer
How to call a variable between the strings in applescript
Below is the apple script for opening multiple tab need to call the variable ' i ' between the string how this can be done in bash we use $i to call the variable.
repeat with i from 1 to 2
tell application "iTerm 2"
tell current window
…

Pradeep Jaiswal
- 1
- 1
-1
votes
1 answer
How to expand a password variable when login to SSH with a Script
This is to follow up on this thread:
Automatically enter SSH password with script
In my case, i cannot use sshpass, i cannot use expect, I just need to script it as if no other packages are installed on the end user machine.
I want to ssh through a…
-1
votes
1 answer
Change iTerm2 font color depending on the word
Example, if "GET" is being printed on the terminal, i want that GET get colores in color green. if the sign # is printed, i want that only this character get colored.

Qoomit
- 77
- 9
-1
votes
1 answer
flask --help displays Error: Could not import 'server'
I cloned project https://github.com/sayler8182/MockServer, go to project directory and run ./scripts/init.sh
Init.sh code:
pip3 install virtualenv
python3 -m venv venv
. venv/bin/activate
pip3 install -r requirements.txt
flask db init
flask db…

granan
- 341
- 1
- 4
- 18
-1
votes
1 answer
How to stop opening VSCode every time I open a new iTerm or Terminal window/tab
For some reason today whenever I open a new window in iTerm or Terminal it opens VSCode for a sec before closing it. Whenever this happens the terminal disappears from my screen and it's really annoying. It is running commands as soon as it opens…

gr8mustachio
- 15
- 4
-1
votes
1 answer
Solarized Light Wrong Colors in iTerm2 and Vim
I would like to apologize in advance that I am asking another Vim/iTerm2 colorscheme question. I looked through StackOverflow and other online resources, but none of the solutions solved/answered my question.
Basically, I am trying to setup the…

Rahul
- 181
- 1
- 2
- 13
-1
votes
1 answer
How to change username on iterm2
I would like to change the username showned on iterm2. Now is looking something like this -> macbook@...
I would like to change macbook with my name using a command, is that possible?

VITALE LEONARDO
- 3
- 2