Skip to main content

All Questions

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

How to map the macOS Clear key to NumLock with iTerm2?

I tried, but failed, mapping macOS Clear key to Numlock functionality in latest iTerm2 (Build 3.4.23) on macOS Sonoma. I did not see any relevant setting in iTerm2 Preference dialogs: iTerm2 ...
PRouleau's user avatar
  • 185
0 votes
1 answer
82 views

How to Enable iTerm Profile Shortcut Key cmd-ctrl-d key by Disabling Dictionary Lookup in macOS for iTerm?

I've been trying to set up a specific shortcut key (cmd-control-d) in iTerm to trigger a profile action. However, this shortcut conflicts with macOS's default dictionary lookup feature. I'm looking ...
ylluminate's user avatar
  • 5,647
2 votes
1 answer
1k views

Mimic Terminal.app behavior in iTerm2 for option-arrow keys (left and right)

This is probably related to this question: How do I do Home and End in iterm2? but fiddling with the iTerm2 key mappings (both general and per-profile) to un-map option plus the left and right arrow ...
Pointy's user avatar
  • 367
1 vote
1 answer
59 views

Can't use iTerm2 key bindings with Brave in foreground

I'm having an issue using my keybinds for iTerm2 windows. I use Ctrl-Shift-space (C-S-space) as a primary bind. Earlier today, I used this keybind successfully, but at present, it doesn't work. Show/...
mcint's user avatar
  • 269
2 votes
0 answers
581 views

iTerm can't steal focus from browser, but state tracks hotkey invocation

It seems that the keybinding is processed by iTerm, as soon as I click away from Brave, the hotkey window's presence is as-expected by odd-even parity of hotkey invocations, but iTerm is no longer ...
mcint's user avatar
  • 269
1 vote
1 answer
596 views

Type special characters in iTerm2: Dead keys seem to be ignored

How to type special characters in iTerm2 using dead keys, e.g. typing Opt ⌥ + e + e should give é also in iTerm. Note, there is a workaround as in this answer https://apple.stackexchange.com/a/...
Stefan's user avatar
  • 259
1 vote
0 answers
582 views

Control-Option-<arrow> hotkey not working in tmux

I'm using tmux over iTerm2 in Mac OS 12.5. I have such directives in tmux config file: # resizing panes using Ctrl-Alt-arrows without prefix bind -n C-M-Up resize-pane -U 2 bind -n C-M-Down resize-...
mega.venik's user avatar
4 votes
2 answers
733 views

option+left and option+right skip special characters

So I have a new Mac M1 I'm trying to set up the terminal as it was in my previous system. The problem now is that when using option+arrow (left or right) it jumps to the next space character instead ...
Esser420's user avatar
  • 161
1 vote
3 answers
2k views

How to remap left-arrow (←) key to ctrl in MacOS or iTerm2?

On a 2017 MacBook Pro 15", I want symmetry in my three modifier keys (ctrl, option, cmd), i.e. what's available to my right hand would be mirror-symmetrical to what's available to my left. The ...
jeffrecode's user avatar
53 votes
3 answers
25k views

How do I do Home and End in iterm2?

Home and End do nothing in iTerm2, nor do ⌘← and ⌘→. However, Ctrl-A and Ctrl-E do work. Can Home and End do this? Preferences->Keys_Key Bindings in iTerm2 do not offer a "Start of Line" or "End ...
Joshua Fox's user avatar
  • 1,267
7 votes
2 answers
6k views

In iTerm2 map the left Command key to the left Control key & map Command+Tab

In iTerm2, can I map the left ⌘ Command key to the left ^ Control key and still map the system ⌘ Command ⇨Tab to still switch to all other windows? I've use three different OS's (Ubuntu, macOS and ...
Tim Wiel's user avatar
  • 151
2 votes
1 answer
3k views

Key binding in iTerm2

I am trying to bind a shortcut to perform cut command in iTerm2. Obviously, cut is bound to Cmd + x, but I would also like it to be bound to Ctrl + w. I did this easily for paste by going to iTerm2 → ...
bcrabbe's user avatar
  • 31
2 votes
4 answers
6k views

Why does F4 not work in MacOS X (Touchbar macBook, or macBook Air)?

I'm using iterm2 together with tmux and I need the function keys. Ever since I got the TouchBar Macbook Pro and upgraded to HighSierra, the F4 key became disfunctional in iTerm2 and emacs. The F4 key ...
Thomas's user avatar
  • 1,292
2 votes
0 answers
178 views

iTerm2: Select Text keybinding disappeared

I seem to have inadvertently removed the ability to select text using the keyboard: e.g. Shift+←. I've scrolled through the default key bindings in both Preferences > Keys and Preferences > Profiles >...
Pwdr's user avatar
  • 423
64 votes
4 answers
60k views

iterm - what's the key-combo to switch panes?

I've learned how to split my terminal windows with apple-d and apple-shift-d. Its very useful. How do I then switch between the two panes (see below) using the keyboard? I know I can use the mouse ...
Michael Durrant's user avatar
4 votes
1 answer
2k views

iTerm2 - How to show alternate screen in iTerm2?

In Terminal.app, there is a shortcut to Show Alternate Screen: Shift + Command + ↓ Is there a shortcut to do the same thing in iTerm2? If no, is there a way to assign one? How?
user1541776's user avatar