Questions tagged [iterm2]

iTerm2 is an open source Terminal replacement for OS X

Filter by
Sorted by
Tagged with
0
votes
0answers
13 views

Way to restore ssh connection after reboot?

I'm using iTerm2 on Mac. Sometimes I'll have a tab or window with an active SSH session. Then I turn my computer off. Upon reopening iTerm2 post-reboot, it has scroll-back history, but I'm no longer ...
1
vote
0answers
29 views

Git autocomplete not working on macOS Mojave 10.14.5

I've tried everything I've found on the internet but nothing seems to work. Things I've tried: Instruction in the git book for bash environments This medium post Tried with brew install bash-...
0
votes
0answers
14 views

Configure Cmder so that each line in commandline ends the command by default

First time post! Apologies for prob not being savvy with stackoverflow etiqutte just yet. There's a lot of random stuff here, so I will definitely try to do better in breaking this up into multiple ...
0
votes
0answers
14 views

zsh tab autosuggestions not working with pdf

When I type open -n -a Preview.app in zsh, pressing tab for for autosuggestion of the pdf files does not return anything. Autosuggestion works just fine for other apps. Skim does not work either, but ...
0
votes
0answers
116 views

Anaconda on machine but conda command not found

I haven't used Anaconda in a while, I typed conda info into iTerm2 to read this error: zsh: command not found: conda I have copied the relevant .bashrc file information into the .zshrc file and still ...
0
votes
0answers
6 views

How to send arrow key in iTerm2 mapping

What would be the proper way to send a ctrla↑ in iTerm2? Currently I have something like this: \<C-a><up> I know the \<C-a> part is correct, but how to send the arrow keys?
1
vote
0answers
37 views

Changing the colors of zsh syntax highlighting - Robbyrussel theme

Does anyone know how to remove the directory highlighting in ZSH with the robbyrussel theme? This issue is driving me mad lately. Some directories (not all) are being randomly highlighted, and in ...
0
votes
0answers
5 views

(hold) option - click to select a region of text in iTerm2

I find the option-click to be incredibly useful in the native Terminal application. For example, to copy source code from a python shell without getting the >>>'s: Is it possible to set this ...
0
votes
1answer
60 views

How to map a keyboard shortcut to CTRL+R in iTerm 2?

I am trying to map the Command + Shift + Z shortcut to what vim uses for redo, CTRL + R: What is the proper code I should enter in? It seems that \c is not the correct code, but I cannot find it on ...
1
vote
1answer
23 views

Finish command from history

A couple of years ago I enabled "finish text" command on iTerm2 + ZSH. For example, if I had "git commit" in my command history in a new command window if I typed "gi" "t history" would be viewable ...
0
votes
0answers
31 views

Changing iTerm2 font to Mac Terminal font

The default font for Mac Terminal is SF Mono. The default font for iTerm2 is Monaco. It doesn't seem that SF Mono is available in iTerm2. Is there a way to get SF Mono in iTerm2?
3
votes
1answer
249 views

Pasting 'required text' into terminal emulator results in '^[[200~required text~'

I have noticed that when pasting into a terminal emulator, both on macOS (using Terminal.app or iTerm2.app) or in Linux (using urxvt) sometimes I get extra characters. The characters are always the ...
0
votes
0answers
21 views

iterm2 + zsh cursor moving is broken (Home/Pos1, End, left right)

https://gitlab.com/gnachman/iterm2/issues/8743 Pressing HOME/POS1 key is supposed to move the cursor to the beginning of the line. Actual behaviour: nothing happens. Same for END key. Wordwise left ...
0
votes
0answers
21 views

Can I use the mac ssd on a another laptop?

Looks like apple mbp 2015 uses pci express ssd. Let's say I update my mbp with newer ssd. Can I use to old mbp ssd on another windows laptop (i.e. lenovo) with a sata conector? Is there any adapter ...
0
votes
0answers
5 views

Is there a hotkey to set the *tab* (not the session) title in iTerm2?

Everything I find when people ask about setting tab titles is actually setting session titles, and I often have several (sometimes as many as 6) sessions in a single tab, and I don't feel like ...
1
vote
0answers
24 views

Mac Terminal or iTerm: Copy the current command (not including prompt)?

I am using Terminal or iTerm (iTerm2). Let's say I've typed in a command but haven't hit enter yet. Or maybe I used the up arrow to navigate through my command history. How do I copy the current ...
0
votes
0answers
4 views

Cant Open Iterm Sessions

I have few sessions configured in Iterm2 for MAC where I connect to various systems. What happens is that these systems were udpated and my sessions no longer open. Im guessing the keys / certificates ...
0
votes
0answers
19 views

Hotkey window does not appear on all screens

The hotkey window does not appear on all screens although I enabled Profiles > Hotkey window > Window > Space > All Spaces. When I fire the hotkey the window either opens on the first screen with no ...
0
votes
0answers
42 views

iTerm2 ZSH LSColors - Different for different iTerm2 profiles?

My LSColors look fine when the iTerm2 profile makes the background black, but when occasionally I want the background to be another color, the LSColors will not look great. How can I make my LSColors ...
0
votes
1answer
137 views

Create SIGINT (Signal Interrupt) Shortcut for iTerm2

How can I create a shortcut to send a signal interrupt in iTerm2? Ctrl+c is the default, but I would like to have Command+. (dot/period) send a break signal as it currently does in Terminal.
0
votes
0answers
98 views

zsh: command not found: firefox

I have been unsuccessful in finding documentation on how to execute this particular command from my iTerm2 for Firefox: firefox -no-remote -ProfileManager I get: zsh: command not found: firefox ...
0
votes
1answer
39 views

Is it possible to use choose-tree mode with iTerm's tmux integration?

I've discovered that iTerm is able to natively integrate with Tmux nicely, even over ssh. However I currently cannot find a way to use the choose-tree mode, which nicely displays all the available ...
0
votes
0answers
12 views

iTerm2 unknown terminal prompt - security issue?

I just opened up iTerm2 and noticed this odd prompt (HUAWEI_nova_34...) and have no idea where it came from. Has my computers security been comprised? iTerm2 screenshot
0
votes
1answer
101 views

How can I move the vim cursor with the mouse wheel in iTerm2?

This currently works as I want it to in the regular Mac Terminal, but not in iTerm2. Currently, using the mouse wheel shows my terminal and moves vim down. To be clear, I don’t want to scroll the ...
0
votes
0answers
32 views

Where are the keyboard mnemonics support for iterm2?

A big thing that I like about *nix is the mnemonics support: sorely miss it on macos. I'm wondering why that is not in place for iterm2 and if there is a way to enable it? Notice there are no ...
2
votes
2answers
454 views

Change tab character width in iTerm2

The tab character in iTerm2 seems to be rendered as 8 spaces by default. Is there any way to change this to, say, 2 or 4? I didn't find anything in the iTerm2 preferences or documentation.
0
votes
0answers
68 views

how can one put a shadow around an iterm2 window

In iterm2 Build 3.3.2 under defaults, if several windows are open, their boundaries are difficult to distinguish visually. All windows are uniformly the same color. There is no shading around the ...
0
votes
1answer
108 views

Weird terminal bug(?) - have to control+c after every command

I'm having a weird issue with both terminal and iterm, where when I cd into a specific directory (and every subfolder), I have to control+c to 'exit' after every command that I run, and only then can ...
0
votes
0answers
18 views

Is it possible to create an iTerm2 profile from each color scheme in a directory?

I found this awesome bundle of hundreds of color schemes, but the instructions I found seem to suggest going Preferences > Profile > + > and then selecting the imported scheme from Color Presets. Then ...
0
votes
1answer
163 views

iterm2: I maximize a pane and alt+tab to something else and when I return the pane is restored to its previous size

I am using iterm2 with tmux integration and I have two problems. I frequently have multiple panes in a single tab with one of the panes maximized. If I alt+tab out to, say, my browser, then when I ...
0
votes
0answers
390 views

How do I turn the dollar sign onto a new line in terminal?

In a terminal window I want to be able to enter commands on the next line Instead of: Something-MacBook-Pro-2:~ someone$ <command> I want: Something-MacBook-Pro-2:~ someone $ <command>...
0
votes
0answers
43 views

How to close unfocused hotkey profile window in iTerm with hotkey

In iTerm, I configured hotkey profile. Its window does not close when the focus is lost (configuration: https://superuser.com/a/1259726/1075251) However, to close such a floating terminal when ...
0
votes
0answers
40 views

clear buffer when running clear in iterm2 shell

can I configure my shell or iterm2 in such a way that when I run clear in a iterm2 shell, iterm2 will also clear the buffer for that session?
0
votes
0answers
31 views

How to stop dock icons (specifically iterm2) from bouncing (OS: MacOS)

The iTerm2 dock icon will bounce when a process completes and I'm on a different application. I'm sure there is some value in having this alert feature, but for me, I find it very annoying to switch ...
0
votes
0answers
87 views

iTerm2 theme colours are brighter then should be

I have tried to use this Monokai Pro port for iTerm, but colours don't fit. I looked through preferences and found out that correct colours are present and called «Normal», and current colours are ...
0
votes
0answers
9 views

Stop iterm2 from using different settings for first window ONLY

Does anyone have any ideas about why my iterm2 terminal opens with different settings only for the first window after I start the iterm2 program (specifically the colors and cursor shape)? Subsequent ...
1
vote
1answer
339 views

Change background color of tmux pane depending on remote hostname

If I ssh into a remote server from tmux in a single pane, is it possible to change the background color of the pane based on the server name? Let's say all my prod servers start with prod_XYZ and a ...
0
votes
0answers
17 views

Shortcut keys to select a line from the buffer?

I use Ctrl + P and Ctrl + N to scroll through the commands I've entered in my history for quick repeating of commands. Sometimes, for example now during a failed git stash pop, the list of files I ...
1
vote
0answers
326 views

Command-Click file path to open file in editor with zsh

I want to open a file in an editor (vscode) when cmd-clicking the result of a search (grep or ag). iTerm2 provides the "Semantic History" option within Profile->Advanced, and works perfectly. However,...
0
votes
0answers
36 views

iTerm2 drop down hotkey brings other iTerm2 windows to foreground

I have a normal iTerm2 window with a default profile that I keep permanently open. I also created another profile for DropDown terminal for quick commands when needed and assigned it a hotkey. The ...
0
votes
0answers
166 views

Cannot start plugin zplug with zsh+iTerm on mac os

I am struggling with a problem of using zplug. The plugin installed using recommended way (curl). This is the content of my ~/.zshrc: export ZPLUG_HOME=/usr/local/opt/zplug source $ZPLUG_HOME/init....
1
vote
1answer
113 views

Change Tmux background colour of zoomed pane

I'm using iTerm2 and Tmux. I would like to change the background colour of a Tmux pane but only when zoomed. I know there is a window_is_zoomed flag and I am wondering if I can us this in a if-shell ...
3
votes
1answer
247 views

How to disable screen flashing on error while using iTerm2?

Using Mac OS Mojave, iTerm2 build 3.2.9, I noticed that when I backspaced on an empty command line, the whole screen flashes white briefly. How can this be disabled? I checked Preferences > ...
0
votes
0answers
39 views

Issues using shortcuts in iterm2

When using iterm2 I have several issues where shortcuts don't appear to be working. Specifically, using the option key on my mac doesn't tab cycle and any time I press command⌘, iterm2 is unresponsive ...
0
votes
0answers
110 views

Save commands history in Iterm2

How I can save commands history in Iterm2? Because if I close Iterm2, and open it again - commands history are delete?! What is problem to save commands history in Iterm2
1
vote
1answer
283 views

How to delete commands from iTerm2's command history (Cmd+Shift+;)

I like the iTerm2's Command History feature, Cmd+Shift+;, to quickly find a command from the history. But there are some commands that I want to remove from the list, I already run command like sed -...
0
votes
1answer
304 views

How can I change the line height in iTerm2?

I've tried looking through iTerm2's text preferences, but I don't see a way to change line height. How can I add more space between lines in iTerm2 for Mac?
1
vote
1answer
52 views

VIM startup symbols in status

I am trying to move to VIM as my main text editor, already spent a lot of time setting everything and reading about VIM. Now everything is pretty much ok, except one thing that bothers me all the ...
1
vote
0answers
46 views

Configure key to turn off mouse reporting in iTerm2

Currently, mouse reporting is disabled using the option key. Is there a way to configure this to shift key i.e. I hold down shift to select text instead of option. I don't want to permanently remap ...
0
votes
1answer
40 views

zsh / oh my zsh rendering and running a slightly mistaken command

I've searched for this, but I haven't found a match. Even though I think it has to do with completion errors (of which there a few posts), my Zsh has a different and undesired outcome. When I go 'up' ...

1
2 3 4 5
7