Questions tagged [keybindings]

Pertaining to the settings which define what a key press on the keyboard will do.

Filter by
Sorted by
Tagged with
2 votes
0 answers
12 views

override command + tab to control + tab to switch browser tabs in macOS Monterey using Karabiner Elements

I am using a Macbook Air M2 with macOS Monterey. I am trying to get the keyboard bindings to better/more mimic Windows 10. The laptop keyboard is like this: {fn/globe} {control} {option} {command} I ...
1 vote
0 answers
34 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/...
0 votes
2 answers
100 views

Keyboard custom lockscreen shortcut not working on Macbook pro M1

I followed the steps on this stack post and set the shortcut to ⌥ L on my MacBook Pro (13-inch, M1, 2020) I can confirm that I see this change in the menu - However, when I try using this ...
0 votes
1 answer
20 views

How can I investigate why a key ( { ) doesn't immediately respond on the keyboard?

I may have screwed up my mac keyboard strokes but I have no idea how to investigate. This issue seems to happen all over the OS and is not specific to a single application. Some things to have in mind:...
0 votes
0 answers
8 views

Mapping left and righht Opt separately on Aquamacs

In Aquamacs I'd like to use the left Option as Meta, while keeping the one on the right as mod key (for an Italian keyboard). A setup I have found that gets me close is this (custom-set-variables '(...
1 vote
1 answer
4k views

keyboard shortcut in google docs is same as safari

Google Docs uses the ⌘, shortcut to apply subscript formatting, but I can't type this in Safari because ⌘, opens Safari's preferences. How can I work around this?
0 votes
3 answers
529 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 ...
0 votes
0 answers
17 views

Make Command act as Control in macOS Terminal without 3rd-party apps?

Is it at all possible to make Command behave as Control in macOS Terminal, without use of 3rd-party apps (f.e. without Karabiner, maybe with terminal commands like defaults)?
1 vote
1 answer
27 views

Remap quit app keyboard shortcut globally

In Windows and Linux I can remap the Close Window key globally to something else (usually Ctrl + F4). When I tried doing the same in Mac, it seems that I would need to remap every app independently. ...
0 votes
0 answers
35 views

Why are the Emacs bindings to move around words (such as M-f (option-f) and M-b (option-b)) not working on bash terminal?

I am using macOS Monterey 12.5 on M1 hardware. In case this can be relevant, I am using an American keyboard with Brazilian Portuguese (ABNT2) as input. Also, I am using a cool software Karabiner ...
1 vote
1 answer
36 views

How to pass `option-c` to Hyper terminal rather than `ç`?

I'm trying to get the fzf directory switcher to work in my terminal (Hyper). It is supposed to work using option-c but in my case that just enters a cedille (ç). One workaround I found is to use Esc-c ...
0 votes
1 answer
13 views

Mapping Control+Command+Eject on non-apple keyboard

How would I map different key combinations using Eject, such as Control+Command+Eject that restarts computer, when using non-Apple keyboard?
0 votes
0 answers
9 views

How can I control playback in IINA using a game controller?

I want to use my game controller to fast-forward/rewind video playing in the app IINA. Specifically, I want to rotate one of the controller's joysticks counterclockwise to move IINA's playback back, ...
13 votes
2 answers
7k views

How to change keyboard type if that option is no longer visible?

I am using an EU keyboard layout and the button below the ESC key is "double quotes" on OSX 10.10.3 Suddenly that key is automatically changed to the < >| key I checked keyboard layout and it ...
0 votes
1 answer
35 views

Why command+v print out numbers why?

I was googling about the sign for square root on the keyboard and found command+v but when I press it, it gives math eq like 2*2+2*2+2. It is like it is built into it. why does the command+v gives you ...
2 votes
0 answers
38 views

Left arrow key goes to beginning of line

For no known reason the left arrow key has started behaving as if I'm pressing Command + left arrow. There is no way I can get the cursor to move one letter at a time except if I hold the shift key ...
1 vote
0 answers
59 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-...
0 votes
1 answer
54 views

How to have Emacs keybindings everywhere in Macbook Air M1 Monterey 12.5? Is tweaking ~/Library/KeyBindings/ the best approach?

I am new to macOS and a big fan of Emacs. I am trying to achieve Emacs keybindings everywhere. Despite the fact that I have read multiple times on the web people stating that macOS was friendly and ...
1 vote
1 answer
911 views

Magic Keyboard Home and End keys acts as Page Up and Page down

I'm using a Magic Keyboard with both my windows laptop and my Macbook Pro. When on MacOS, the Home and End keys default to Page Up and Page Down. How do I remap the Home key to act as the Home button (...
40 votes
3 answers
12k 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 ...
1 vote
1 answer
1k views

How to remap a single key?

I have a broken key on my Mac's keyboard and I need to remap it to some other key, by double press. Temporarily. It's not a special but an alphabet letter one. I want to remap it this way: "f&...
0 votes
1 answer
300 views

Karabiner-Elements cannot open new Terminal window unless Terminal already in focus

I am on Catalina 10.15.7 and use Karabiner-Elements 13.3. When I use the rule shown below for opening Terminal nothing happens unless Terminal is in focus (you can see Terminal on the menu bar). Seems ...
0 votes
1 answer
43 views

External Keyboard Layout does not match shown on System Preferences

I have a MacBook Air M1 2020 on Monterrey 12.4. I've just bought the Logitech ERGO K860, which has an ISO layout. I had a problem that was recognized as ANSI, but I could solve that. I could set it ...
4 votes
1 answer
182 views

Re-mapping PgUp and PgDn on PC keyboard

I have a setup where I use the same (PC) keyboard for my PC and my Mac mini using a switch box. I switch back and forth between the two all the time - and in order to stay sane I have re-mapped many ...
68 votes
9 answers
29k views

Is it possible to disable Safari Cmd-I keyboard shortcut from opening Mail app?

When in a browser (Chrome or Safari), Cmd-I / Shift-Cmd-I keyboard shortcuts both launch the MacOS Mail app, and there doesn't seem to be any way to change or disable them. Command+I Command+Shift+I ...
0 votes
2 answers
2k views

How can I obtain the backslash with a US keyboard configured with a Spanish (ES-ISO) keyboard layout?

I have a Macbook Air with the typical US keyboard layout printed in the keys, but I want to use the keyboard as if it were a Spanish keyboard because I'm accustomed to that layout and since I don't ...
0 votes
1 answer
237 views

Map left command key to left control key in terminal only?

I'm using neovim to edit code and am needing to create a mapping in which I press the left command key, and neovim (or at least my alacritty terminal) thinks that I am pressing the left control key. I ...
2 votes
1 answer
240 views

DefaultKeyBinding.dict method not working to move cursor from word to word(which is by default options + left/right)

I created a DefaultKeyBinding.dict in ~/Library/KeyBindings and copied this code to change how I can move from words to words to command+left/right instead of options + left/right. But it is not ...
-1 votes
1 answer
120 views

How can i prevent CMD+L from lagging in full screen mode in Safari

My first question here. I tried Safari and i honestly like it very much, it is much more faster than Google chrome. I would like to use it in full screen mode, with Always Show Toolbar in Full Screen ...
0 votes
1 answer
30 views

How do I change between open Chrome screens on a macPro 10.13.3 using a windows keyboard

This is weird. Ctrl + > works sometimes but not always. When Ctrl + > (> = cursor control keys) works. When Ctrl + > (> = cursor control keys) doesn't work, it brings up the ...
0 votes
1 answer
24 views

Monterey: Cycle through layouts in "most recent used" order

I use two languages A and B regularly, so I need to switch between them with a simple press of option+space. However, I sometimes also need to use a third language C. I want to be able to press option+...
2 votes
1 answer
34 views

Possible to change Messages up/down key behaviour?

In most single-line text edit fields, pressing Up moves the cursor to the start of the line, and pressing Down moves the cursor to the end. But in the Messages app, the behaviour is slightly different;...
135 votes
11 answers
76k views

Can home and end keys be mapped when using Terminal?

The Home and End keys on a MacBook Pro can be emulated with Fn + ← or fFn + →. Or when certain settings are changed, with the ⌘ Command key instead of Fn. None of these works in Terminal. As I ...
2 votes
1 answer
553 views

Reuse Cmd+Tab for hammerspoon application switcher

I set up hammerspoon and use hs.window.switcher as mentioned in the docs. I.e. switcher_space = hs.window.switcher.new(hs.window.filter.new():setCurrentSpace(true):setDefaultFilter{}) hs.hotkey.bind('...
2 votes
0 answers
26 views

Change Spotlight web search default keybindng

The default keybinding to search the web from Spotlight (⌘ CommandSpace) is ⌘ CommandB. Is it possible to change it? I haven't even found this keybinding documented on official website. (macOS Mojave ...
0 votes
0 answers
43 views

Switching Control and fn keys does not work

I want to switch my Ctrl and fn keys. It's a MacBook Pro 2019 with 12.4 and a Touch Bar. Keyboard > Modifier Keys: Control (^) Key: fn Function Function (fn) Key: ^ Control But it just doesn't ...
1 vote
0 answers
122 views

How to remap keys when using Universal Control between two macs

Keyboard connected directly (Bluetooth) When using an external keyboard on my 16" 2019 MBP or 13" M1 MBP (both running macOS Monterey 12.3.1 build 21E258), connected directly with Bluetooth ...
3 votes
2 answers
992 views

Karabiner-Elements: How to re-map caps_lock based on applications

Objective This is more about to confirm if this configuration is correct to do remapping with Karabiner-Elements to remap: caps_lock to left_control if it is in Terminal caps_lock to left_control if ...
2 votes
0 answers
85 views

Macbook Air loses modifier key remapping when hub unplugged

TLDR: My Macbook Air forgets my remapped modifier keys when I unplug and replug the USB hub my keyboard is on. There have been past questions about forgetting modifier key settings but those were ...
2 votes
2 answers
3k views

Option and command key are switched for a keyboard on my mac?

I just connected a keyboard I haven't used in a while. For some reason the option and command keys are suddenly switched. I went into settings > Keyboard > Modifier Keys and everything is at ...
1 vote
1 answer
302 views

Is there a QTranslate for MacOS?

I'd like to translate selected text using one keyboard shortcut and see translation in a pop up window, similarly to how QTranslate works on Windows. I tried Mate, but it requires several key ...
1 vote
1 answer
88 views

Full list of option key mappings in Mac keyboard

The option key with any alphanumeric or symbol key in a Mac keyboard would insert a special character. The special character would also change when shift is also held with option. E.g., the following ...
5 votes
2 answers
744 views

Map Control+Delete to Forward Delete

I use a wireless Apple keyboard at home and a wired (full sized) one at work. Now I constantly get confused when I want to do a forward delete, since I'm used to the fn+delete combination. Is it ...
0 votes
2 answers
80 views

Make the Touch Bar less fancy

I got a mbp with Touch Bar and now I'm sure I don't like it. What can I do to make it look and behave less like a Touch Bar? Is it possible to make it hold just two sets of buttons, the function keys ...
2 votes
1 answer
2k views

How to create a keyboard shortcut for Preview `Move To…`

Using App shortcuts in System Preferences -> Keywords allows me to create a shortcut but it does not work when I try it in Preview. I tried the following keybindings (which do not conflict with ...
2 votes
1 answer
122 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 ...
3 votes
1 answer
1k views

Left/right option keys reversed under Mojave on PC keyboard with switched option/command

I have Emacs 26.1 from emacsformacosx.com set up to use left option as meta, and to ignore right option, so as to leave it available for accented characters etc. It works fine on my MacBook Pro's ...
3 votes
3 answers
2k views

What is the hex ID for Fn key

I would like to remap my Left Control to Fn key using hidutil. This is the command I've been trying to use: hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x7000000E0,"...
2 votes
1 answer
1k views

How does one activate a square bracket on a Spanish Magic keyboard?

I have problem on macOS Big Sur with an my square bracket on my Spanish magic keyboard I need this to configure shortcuts for my Wacomb tablet and Photoshop. I've tried changing keyboard language ...
10 votes
1 answer
4k views

Swap or remap Cmd+Tab to Ctrl+Tab

Please read my answer and bmike's comment before voting to close. Someone is going to come along and say I should just learn Mac shortcuts, but I must say I use Chromebooks, Windows, & Linux boxes ...

1
2 3 4 5
9