Questions tagged [keybindings]

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

Filter by
Sorted by
Tagged with
75
votes
4answers
86k views

How do I remap a key in macOS Sierra, e.g., Right Alt to Right Control?

I used to use Karabiner to remap Right Alt to Right Control (as an Emacs user I use Control MUCH more that Alt) but updating to Sierra broke this. Downgrading is not an option. How do I manually ...
0
votes
0answers
21 views

Can I use CapsLock as Hyper in a keyboard shortcut for window tiling?

[Update: Per agarza's suggestion below, I've looked into Rectangle. It's based on Spectacle so it was familiar enough. I checked "Remove keyboard shortcut restrictions" in settings, and ...
9
votes
6answers
12k views

Mac OSX not automatically remapping windows key to cmd

I'm currently using a Cooler Master Quickfire Ultimate keyboard that works perfect with Windows 7. However, whenever I have it plugged into my Macbook pro (running OSX 10.9.5), the default mappings ...
1
vote
1answer
122 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
1answer
49 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 ...
9
votes
5answers
2k views

What is this fancy L with a curl on top, and how could I type it?

I have encountered a very strange, L like letter that I couldn't found in the ASCII table, nor in the Greek alphabet. Do you have any idea what this could be, and what its name is? I would like to ...
1
vote
0answers
11 views

Binding consecutive keypresses to separate actions in Hammerspoon

I am trying to achieve the following scenario in Hammerspoon: when I press ctrl + alt + E (and no other key is pressed within 300 ms) => launch Finder when I press ctrl + alt + E and then again ...
0
votes
1answer
26 views

Remap function key on external logitech keyboard

I am using a Logitech K250 keyboard on my MacBook Pro. I have already switched the cmd and opt keys in system preferences, but I would also like to remap the function key to option to make it more ...
1
vote
1answer
151 views

How to disable `Microsoft Outlook`'s keybindings in macOS

I am using Microsoft Outlook in macOS. Is it possible to disable its keybindings such as command-a for select all, since I am using that binding for something else. Basically, I just want Microsoft ...
2
votes
1answer
95 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 ...
0
votes
0answers
13 views

Create emacs-style keychains keybindings in hammerspoon?

I discovered Hammerspoon today, a keybinding and desktop automation tool reminiscent of i3wm or awesonewm for linux, but combined with something like xdotool. I am an emacs user, and find emacs's (and ...
0
votes
0answers
22 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
vote
0answers
10 views

How do I remap Home/End key behaviour in Java Swing applications?

I am using a Java Swing applications as a code editor. I find it hugely annoying that the Home and End keys behave differently on macOS than the rest of the world. Under macOS they go start and end of ...
16
votes
5answers
39k views

Key remapping without Karabiner

Through "System preferences -> Keyboard -> Modifier Keys" I had setup: Caps Lock as Ctl. Then, I installed the new Karabiner (formerly KeyRemapForMacBook) to achieve the following key-remap: Left ...
3
votes
5answers
11k views

How to make NumLock/numpad cursor keys work on an external USB keyboard?

I have a Genius USB "partial" keyboard - a numpad like this one. It types digits and +-/*, but doesn't switch to cursor mode with NumLock off, and Home/End/PgUp/PgDn keys were the reason I ...
0
votes
1answer
24 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
0answers
10 views

Is it possible to apply Karabiner's keybindings to Xquartz

I am using XQuartz in macOS. Is it possible to apply Karabiner's keybindings into XQuartz? Basically, I just want XQuartz to see the default keybindings that macOS using. Please note that I am using ...
0
votes
1answer
34 views

Sublime Text is autocorrecting “^”

I use Sublime Text 3 for my LaTeX coding. Whenever I try to type something with a carat such as e^{x+2} it autocorrects it to e{{x+2}}. The autocorrect occurs right after typing the first curly brace ...
0
votes
0answers
12 views

dictionary look up highlighted word NOT mouse hover

I am going to ask this question again because I haven't been able to get this to work yet. Is there a way for looking up words that are highlighted only without hovering the mouse? I am using macos ...
2
votes
2answers
1k views

Keyboard shortcut to open Terminal at the current folder location in Finder

Say I am in a Finder window (eg: ~/Documents/code ) and I want to be able to use a keyboard shortcut to open a terminal window with the prompt user@computer: ~/Documents/code$ Most of the questions ...
2
votes
4answers
5k 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 ...
2
votes
0answers
41 views

How to disable the ⌥-Space fullscreen Quick Look shortcut?

How to reproduce When hitting ⌥-Space on a file or folder, Quick Look goes into fullscreen. Wikipedia's "Quick Look" entry lists these shortcuts. What I'm trying to do I'd like to disable ...
0
votes
2answers
24 views

Two keys on keyboard suddenly switched roles

I have a Microsoft sculpt keyboard connect via usb to my Catalina MBP 16,1. Suddenly, the ^ key has traded roles with the < key. The internal keyboard has the same problem. Everything else is the ...
0
votes
0answers
30 views

How to override default `Modifier key + Click on app icon in Dock` behaviour on macOS?

For example, by default Option(Alt) + Click on application icon in Dock hides all windows of currently active application. And Option(Alt) + Cmd + Click hides all applications, except for one which's ...
0
votes
2answers
36 views

Quick combination or text replacement for typing schwa

I would like to configure a simple key combination to type a schwa (ǝ). I configured text replacement for the å character, but it won't work if it's inside a word i.e. "å" gets replaced ...
0
votes
0answers
13 views

Microsoft Number Pad behaves oddly in Big Sur

I bought the new bluetooth Microsoft Number Pad and it exhibits a strange behavior. Every keypress sends two codes. For example, below is a screenshot of my pressing the "1" key once: The ...
0
votes
1answer
85 views

How to remap Mac keyboard with Xmodmap

I was trying to remap my Mac's keyboard with Xmodmap, but it was only somewhat successful. The remapping works when I look for the keycodes with the event tester, but when I actually type the keyboard ...
2
votes
1answer
2k views

How can I have Windows keymapping on my Macbook, CTRL+C, CTRL+V

I have a Macbook pro 2016, I am a Linux user at home and I am used to CTRL+C, CTRL+X, CTRL+V kind of key mapping for my copy, cut and paste actions. I have set up keyboard modifier as below I also ...
0
votes
1answer
22 views

terminal.app eats SHIFT key when used with UP and DOWN arrows (but not left or right)

Using cat in Terminal.app in order to view the raw codes, I get the following: $ cat ^[[D # LEFT ^[[1;2D # S-LEFT ^[[C # RIGHT ^[[1;2C # S-RIGHT ^[[A # UP ^[[A # S-UP ^[[B # DOWN ^[[B ...
0
votes
0answers
18 views

MacOS Big Sur : is threre a way to remap a shortcut with trackpad?

Keeping shift + horizontal movement on trackpad increases significantly the horizontal scrolling. Is there a way to remap this combination (shift + horizontal movement on trackpad) just by a simple ...
1
vote
1answer
46 views

external keyboard: cannot use f1,f2 etc. keys without pressing fn key

I am using mba with high sierra and an external keyboard JETech 2156. The problem is I do not want to use fn key, for example F8 key has play or pause option. I have to press fn+f8 to pause or play. I ...
2
votes
1answer
69 views

How do I get text key binding “yankAndSelect” to work?

macOS's text input system has long supported custom keyboard shortcuts via ~/Library/KeyBindings/DefaultKeyBinding.dict. I have used this successfully for years to make text editing more Emacs-like, ...
-1
votes
1answer
156 views

How to make Mac OS incompatible mouse work on Mac OS and use ALL its buttons? Tell me your solution please

I have a wonderful Roccat Tyon mouse (this is not a promo, I honestly love this product after trying a bunch of other gaming mouses) which I use for work, not for gaming. And I use it on the Mac OS ...
3
votes
3answers
5k views

Different keyboard mapping on external keyboard

Currently I have a challenging keyboard setup. My MacBook Pro has a fr_FR (French AZERTY) keyboard, but the layout is currently set to fr_CA (Canadian QWERTY). Even if the keys are not labelled right, ...
2
votes
2answers
741 views

How to disable the Character Viewer in Big Sur?

How should I change shortcut or disable emoji menu by ctrl+cmd+space. Is it possible?
1
vote
0answers
34 views

How can I disassociate “Esc” from “Exit full-screen view” in Safari? [duplicate]

When I press Esc in Safari, it exits from full-screen mode. There is another shortcut for that: CTRL-CMD-F and I'd rather keep only that one active. Is it possible to disable the Esc keybinding? I've ...
0
votes
1answer
55 views

Auto Swoosh to space on a per app basis

There is a lot of questions and articles about the "When switching to an application, switch to a Space with open windows for the application" under the mission control settings pane (also called "...
26
votes
11answers
17k views

How to show or hide Keyboard Viewer with a keyboard shortcut?

I would like to display and hide the Keyboard Viewer using a shortcut. Is there a way to display the Keyboard Viewer via a keyboard shortcut? Is there a way to automatically display the Keyboard ...
1
vote
2answers
958 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,"...
0
votes
0answers
116 views

Shift Key Random behaviour on MacBook Air with Big Sur

Recently I upgraded to Big Sur on my MacBook Air (13 inch, early 2015 model) and it worked fine for a couple of days. Suddenly the left Shift key shows some random behaviour. Sometimes, it is always ...
1
vote
0answers
12 views

Keyboard binding: deleteWordForward not working

I have the following code in my ~/Library/KeyBindings/DefaultKeyBinding.dict file: { "~f" = "moveWordForward:"; /* M-f Move forward word */ &...
0
votes
0answers
12 views

How to keep Option-Delete despite using Unicode Hex

Background I am on MacOS Catalina 10.15.7, and I have recently switched my input method to Unicode Hex, so that I can free up the option key for more IDE keyboard shortcuts. (Ordinarily, option-I ...
137
votes
10answers
142k views

How to change the default behaviour of the fullscreen/maximize button?

There is a question that deals with the different behaviour of the fullscreen button in the window bar. There, it is shown that by doing: ⌥ + ⇧ + Click on green or outer right icon (plus icon) I can ...
0
votes
1answer
38 views

How can I map shift+hyphen (the underscore character) to an unused function key? [duplicate]

I wish to produce the underscore ("_") character without any significant slowness from an unused function key. I'm intrigued by this answer provided by username Danny last year. If a ...
0
votes
0answers
71 views

Remap external keyboard numpad so that dot “.” is a comma “,”

I am using an external keyboard with a number pad for my MacBook Air running Mojave (10.14.6). Currently, I use a comma "," as a decimal point in Excel - I would like to remap the ".&...
104
votes
11answers
62k 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 ...
0
votes
0answers
54 views

How to make Karabiner work with Intellij on Mac?

I've recently switched from Windows/Ubuntu to MacOS Catalina and I'm trying to avoid changing too many key mappings on Intellij 2020.2. I'm trying to achieve these things: Swap Left Ctrl and Fn ...
2
votes
1answer
141 views

How to swap Ctrl and Function key?

I'm trying to swap Ctrl and Fn on Catalina without downloading a new app. As suggested in multiple articles, I tried going to System Preferences > Keyboard > keyboard > Modifier Keys.. in ...
0
votes
0answers
7 views

Change Function of Command+Delete when Editing text in Catalina

In Catalina, when editing text hitting command+delete appears to delete the entire line, and option+delete will delete a single word. I would basically like to swap these, making command delete simply ...
1
vote
1answer
72 views

Top row on keyboard has a different behavior when pressing alt and using a non mac keyboard

I use a MacBook Pro as a Laptop and mainly Linux to work. Mostly i like to use the same Keyboard (Ducky one 2 SF) for both devices. I chose the same keyboard settings (German) in Mac OS as in all ...

1
2 3 4 5
8