Skip to main content

All Questions

Tagged with or
Filter by
Sorted by
Tagged with
1 vote
0 answers
391 views

How to bind one key to press multiple keys with karabiner elements

I've been trying to bind my X button to do left click, A, and W for the past few days. I've tried using all sorts of attempts and changing code of other's JSON files multiple times, but it hasn't been ...
0 votes
1 answer
108 views

How can bind Ctrl+m keybinding to Enter using Keyboard Maestro on macOS

If possible, I want to bind Ctrl+m keybinding to Enter using Keyboard Maestro. How can I achieve this? Related: https://superuser.com/q/55954/723632
2 votes
2 answers
1k views

Manually set iTunes play/pause button

I'm using an old Apple USB keyboard(it came with the iMac G5) with my Mac. I'd like to bind F16 to play/pause iTunes, like F8 key on the MacBooks. Right now the key does nothing. I'm OK with 3rd ...
0 votes
1 answer
477 views

How to change the Caps Lock key to Backspace on the external keyboard I am using with my iPad? [duplicate]

I reckon there are programs on Mac or PC that could do the trick but I haven't been able to find an app that would let me just remap this one key. My keyboard does not come with any software that ...
0 votes
0 answers
108 views

Why does moveWordBackward: auto-repeat, but moveWordForward: does not?

I have the following in my ~/Library/KeyBindings/DefaultKeyBinding.dict file (among other key bindings): "~b" = (moveWordBackward:); "~f" = (moveWordForward:); Pressing ...
11 votes
1 answer
5k views

Swap or remap Cmd+Tab to Ctrl+Tab Optional Shift Only

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 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/...
2 votes
1 answer
285 views

remap escape key with Ukelele

I have the following keyboard: I would like the change the top left key from "escape" to @/# and map Escape on "option + @". So I created a new keymap with Ukelele and installed ...
0 votes
0 answers
14 views

Select a given window on any workspace?

I have lots of terminals for different things. I have a keybinding to switch to a the terminal app, but I find that I have lots of different terminal windows across lots of workspaces. Is there a way ...
1 vote
0 answers
31 views

Cmd+x halting the OSX keyboard

I have run into a very weird problem and any insight into this would be much appreciated. I noticed for the past two days whenever I press the cmd + x keys into the keyboard to cut an entry in the ...
0 votes
1 answer
91 views

How to configure the 'control' key to work as 'backspace' alone and also to as 'control' when combined with other key in karabiner?

I'm trying to make the control key backspace when pressed alone and also work as left control when combined with another key ( eg I use control h,j,k,l for up down left right), any help? for some ...
0 votes
1 answer
146 views

Map Spotlight key to repeat last command in Terminal

Logically this is possible, but I'm not sure it is technically possible on a Mac. And I have no idea where to start, but here it is: I have a workflow right now where I (1) close the only tab in VS ...
1 vote
0 answers
2k views

Fn+Left/Right/Up/Down arrow keyboard shortcuts on MacBook Air m1

On my previous Mac (MacBook Pro 2012), Fn + ← / → / ↑ / ↓ would by default be Home /End / PgUp / PgDn keys, respectively. On my MacBook Air M1 I can't get these shortcuts to work, despite this ...
3 votes
1 answer
482 views

Karabiner doesn't detect End key on Logitech MX, VSCode does

I have a Logitech MX keys keyboard (dual Mac and PC, french layout), and I'm trying to use the Home and End keys. I'm using the "French - PC" layout in macOS. VScode detects the End key just ...
27 votes
3 answers
12k views

How can I send the currently active window to the back?

Is there a shortcut or such to send the currently active window to the back of the screen while still keeping it open (so that it ends up "beneath" all other open windows)?
32 votes
4 answers
20k views

How can I remap Caps lock to both Escape and Control?

I generally run Linux. I use Vim a lot, so the Escape key is extremely important. I also use other keyboard shortcuts a lot, so Control is "key" as well. On Linux, I've solved this by using xcape to ...
1 vote
0 answers
61 views

macOS suppresses ^ Control -1 through 4 shortcuts

Does anyone know how can I make ⌃ Control 1 to ⌃ Control 4 shortcuts usable? I've disabled them via System > Keyboard > Mission Control, and yet, macOS doesn't allow those keybindings to be ...
11 votes
3 answers
5k views

How to take a screenshot of the same precise region with a key combo?

I have a certain location on my screen that I would like to take a screenshot of rather frequently for a project. Is there a way to set a key binding that would allow one to press a certain ...
4 votes
1 answer
2k 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 ...
0 votes
0 answers
44 views

How to change or remove keybindings in Finder

The general shortcut to change window in a specific app is Command’. This doesn't work in Finder where the same shortcut toggles visibility of status bar. How to change this behavior of Finder?
1 vote
1 answer
1k views

Mac: change Finder shortcuts

I want to reassign Cmd ⌘ Shift ⇧ F to a custom command, but Finder reserves it to open 'All My Files'. I have looked around Preferences-Keyboard-Shortcuts, but the Finder shortcuts do not seem ...
0 votes
0 answers
99 views

Is it possible to to remap the "POS1" (Arrow up) key from the Magic Keyboard permanently and system wide to "Beginning of the Line"?

I am a developer and would like that button to go to the beginning of the line (please do not recommend any "pressX+Y(+Z)" finger gymnastics). Update 1 I would like to make it as native in ...
0 votes
0 answers
423 views

How can I rebind command and control in the context of terminal applications?

I'm on macOS Ventura 13.1. I have the command and control modifier keys swapped in the macOS keyboard settings, and it works in most places, but terminal programs still expect command+X to close nano, ...
0 votes
1 answer
756 views

How can I run a terminal command from within any app and output the result (on Mac)?

No matter what app I am in, I would like to do a keyboard shortcut which allows me to enter a terminal command and run it, and the output will be written to wherever my cursor is, if it is in a text ...
1 vote
0 answers
26 views

Mac shortcut but with gChrome open

I defined a shortcut on my mac that works if I am focused on "Finder", but when I open g-chrome and then type my shortcut, nothing happens. I suspect the issue is that g-chrome "...
13 votes
1 answer
3k views

Disable Terminal man page shortcut on Catalina

I recently upgraded to MacOS Catalina and when I am in IDEA IntelliJ, if I press Command + Shift + M the OS opens the Terminal program and attempts to load the man page for whatever I had highlighted ...
1 vote
1 answer
469 views

Right option key of an external keyboard not working

I use my MacOS (with Ventura) with 2 different external keyboards. On the first, all runs smoothly. On the second, a Logitech K120 with an ISO-IT layout, the right option key doesn't work at all. Here ...
2 votes
1 answer
1k views

How to assign single-key system-wide shortcuts to numpad?

I have an external keyboard with a numeric keyboard which I never use. Is it possible to assign functions to those keys like: - opens Voice dictation * emulates Shift-Command-4 + emulates Tab-...
1 vote
2 answers
212 views

PressAndHold in Ventura

The PressAndHold plists are now (Ventura) in /System/Library/Input Methods/PressAndHold.app/Contents/PlugIns/PAH_Extension.appex/Contents/Resources/ Long ago (with help from here), I managed to get ...
10 votes
3 answers
9k views

Long press key to reveal special characters does not work after update to High Sierra

I have a similar problem as the asker in this question on Apple's forum. After I updated from Sierra to High Sierra (v10.13.3) on a MBP retina 13" mid 2014, I noticed the character picker (special ...
2 votes
1 answer
222 views

How to undo malicious changes to key bindings?

My friend used this script (do not run this!!) to change all my keys to h. How can I undo this?
1 vote
0 answers
78 views

Is there a command-line tool to define a keybinding on the fly?

I'm aware of some of the options for keybindings, but as far as I know none have a command-line interface. I would like something where I can say something like "mac-bind command-option-b <...
2 votes
0 answers
582 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 ...
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 ...
0 votes
1 answer
38 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+...
7 votes
2 answers
8k views

Magic Keyboard Home and End keys acts as Page Up and Page down [duplicate]

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 (...
2 votes
2 answers
1k 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
6k 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?
1 vote
1 answer
560 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
53 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
1 answer
118 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
127 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
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-...
0 votes
1 answer
572 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 ...
-1 votes
1 answer
160 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 ...
152 votes
11 answers
89k 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 ...
3 votes
1 answer
1k 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
76 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 ...
1 vote
0 answers
82 views

Switching Control and fn keys does not work [duplicate]

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 ...
2 votes
0 answers
700 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 ...

1 2
3
4 5
10