Questions tagged [keybindings]

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

76 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
10
votes
0answers
4k views

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

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 ...
4
votes
0answers
511 views

“Dvorak - Qwerty ⌘” doesn't work for some applications

I recently switched to Dvorak, and I'm using the Dvorak - Qwerty ⌘ layout. It works in most situations, except some applications don't honor the Qwerty shortcuts. That is, if I were to press what ...
3
votes
0answers
673 views

How to remap fn modifier to another key modifier (on internal keyboard)?

In Preferences > Keyboard > Key modifiers, I am able to remap (swap) all key modifiers (Command, Option, Ctrl) but Fn. Indeed, for the function modifier, the only choice where I can map it is ...
3
votes
0answers
327 views

Modifier keys… don't show the “Select keyboard” option

I'm using keyboard KeyCool 84 with Bluetooth version 4.0. When I use a cable to connect with my Mac (running macOS Mojave 10.14.5), I can use the modifier key function with an option to Select ...
3
votes
0answers
58 views

How do I add “pull-down”, aka “hotkey window” functionality to any app?

I like to add the hotkey window functionality of iTerm to any app. I have heard this is possible with BetterTouchTool, but I don't know how. I have seen opensource solutions like tdrop for linux, but ...
3
votes
0answers
706 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
0answers
247 views

How do I remap function modifier combinations?

I would like to remap the key binding Shift+Option+7 (⇧⌥ 7) for the backward-slash \ to something much simpler like Option+. (⌥ .) perhaps using a command line tool like hdiutil. The answer to "How ...
3
votes
0answers
22 views

switch to a Full Screen application with keybind

I use a lot of Spaces and I switch between them using keybinds (from cmd + 1 to access the first space, to cmd + 5 to access the last one). I'd like to switch to a Full Screen application using the ...
3
votes
0answers
692 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 ...
3
votes
0answers
48 views

Disabling function keys based on current app and enabling F1 - F12

I'm not sure if this functionality is built into macOS or if there is an app I must download, please let me know. I'd like the functionality of the F1-12 buttons to only work as 'function' keys and ...
3
votes
0answers
580 views

How to set left command to Guest VM and right command to Host OS?

I just set up an Arch Linux virtual machine on my MacBook Pro (El Capitan). My goal is, when inside the Arch VM, to use the left command key for anything VM related and the right command key for OS X ...
3
votes
0answers
729 views

Change page up / page down speed or disable animation?

I do a lot of scrolling in Safari. I often end up hitting space bar to jump across just the right sized blocks. I just looked into it now and I wonder, is it the exact same action as page down? Anyhow....
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 ...
2
votes
0answers
162 views

Disable Cmd Shift Q for cs go, cannot select it in keyboard pref

How can i disbable Command + Shift + Q for cs go, i can't figure it out. I use it for slow walking, ducking and moving around. I'm using macOS High Sierra 10.13.6 I already tried this solution: ...
2
votes
0answers
29 views

Use asterisk/ variables in keyboard shortcuts editor

I'm using a Mac laptop with an external PC keyboard. Via Apps shortcuts I've redefined some of common shortcuts for Find, Copy Paste actions. However, some applications have dynamic actions names, for ...
2
votes
0answers
14 views

How to make hits of caps-lock get ignored unless also pressing shift?

I want to prevent accidental presses of Caps Lock by configuring it to toggle only when you press shift at the same time. Is there a way to do that? I don't mind if I have to use the terminal to do ...
2
votes
0answers
1k views

Remapping command Q to another shortcut for quitting apps

This has been an ongoing frustration for me, and I think for a lot of people in the community who use the keyboard a lot. Shortcuts like Command + TAB and Command + W are an everyday stroke for lots ...
2
votes
0answers
146 views

How can i remap the eject key so i can use the the sleep shortcut on a Microsoft keyboard

My new microsoft keyboard doesn't have an eject button which makes it impossible to put my computer to sleep using the usual shortcut. Is there any way to remap the eject key to an existing key so i ...
2
votes
0answers
165 views

bindkey not working from inside .cshrc file

Here is my .cshrc: echo Enter bindkey ^Z run-fg-editor bindkey ^[OA history-search-backward bindkey ^[OB history-search-forward bindkey ^[[A history-search-backward bindkey ^[[B history-search-...
2
votes
0answers
106 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 >...
2
votes
0answers
723 views

Restore iTunes Media Keys

Like most, I'm having trouble with my media keys being hijacked, so I can't press Play/Pause/Rewind/Fast Forward and have it work with iTunes. In the past, the culprit has been Google Chrome Music, ...
2
votes
0answers
51 views

OSX app to notify me when I could have used a KB shortcut instead?

I started using a MBA for my work machine about a year ago. I'm still not really able to remember the typical keyboard shortcuts, and tend to do things the "long way". For example, if I want to access ...
2
votes
0answers
1k views

How can I remap a play-button keypress from a Bluetooth headset on OS X?

I have an LG Tone (HBS 700) Bluetooth stereo headset, and am using it with OS X Lion. The headset has a play/pause toggle button, but unlike my keyboard's play button, which will toggle play/pause ...
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 ...
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 ...
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 */ &...
1
vote
1answer
120 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&...
1
vote
0answers
140 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('...
1
vote
0answers
19 views

Mac Chrome only quits with command+option+q

All of a sudden Chrome on my Catalina imac requires command+option+q to quit. "Warn before quitting" is unchecked. Holding command+q does nothing. command+q works in all other apps. I have a ...
1
vote
0answers
29 views

Switch keyboard layouts by combination with caps lock

I have two keyboard layouts. Is it possible to switch to the first layout by pressing Caps Lock and switch to the second one by pressing Shift + Caps Lock?
1
vote
0answers
12 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. ...
1
vote
0answers
33 views

new keystrokes in Terminal defined, but do nothing

To move the insertion point backwards and forwards a word at a time, Terminal by default uses Option + left or right arrow. Because my 101-key USB keyboard lacks an Option key, I'd like to use Control ...
1
vote
0answers
24 views

Use Single Shortcut Key to Close Windows

Some windows can be closed with ⌘+w while others require the Esc key. How do you create a single key shortcut (maybe with caps lock?) that can close both types? A built-in solution in Mojave and ...
1
vote
0answers
34 views

How do I change ctrl and clicking to be interpreted as separate functions and not as right-clicking?

Karabiner has the option to disable ctrl-clicking entirely and register it as regular clicking, but that’s not what I want. In many videogames, Ctrl and Click are buttons you use simultaneously all ...
1
vote
0answers
32 views

Use Command + Tab to view a minimized application window

Maybe it's related to this question, but when I use command + tab to cycle through open applications, if a leave the selection on an application that is minimized, I can select it, but it doesn't ...
1
vote
0answers
29 views

How to enable foreign/accentuated letters popup on ukelele (.keylayout) custom keyboard keypress?

I have created and installed a custom keyboard layout with the ukelele application. This keyboard is installed here : ~/Library/Keyboard Layouts/my-custom-layout.keylayout When the default english ...
1
vote
0answers
38 views

Change left Cmd key to Ctrl Key wihout changing the right Cmd key in Macbook Pro High Sierra?

I have two command keys on my MacBook Pro(High Sierra). I often use control with my pinky finger. Is it possible to map only right Cmd key with control key while the left Cmd key should function as it ...
1
vote
0answers
88 views

App Keyboard Shortcuts Display Bug?

I'm encountering what appears to be a bug in the display of  > System Preferences > Keyboard: Shortcuts - App Shortcuts. The shortcuts are functional, but as you can see, their names randomly ...
1
vote
0answers
63 views

macOS Sierra mysteriously capturing keyboard shortcuts involving Cmd-Ctrl-Alt

I recently noticed that certain keyboard combinations involving Cmd+Ctrl+Alt (Cmd+Ctrl+Opt) are captured by my Mac but cannot figure out what is doing the capturing. For example, Cmd+Ctrl+Alt+j/; both ...
1
vote
0answers
126 views

Enter to open a file or a folder in Macintosh Explorer

Is it possible to configure Macintosh Explorer so that pressing ENTER opens a file or a folder (as we can do in Finder)?
1
vote
0answers
217 views

Adjusting Brightness, or executing any keypress, on remote computer via ssh

What are the options to target specific keys on a remote computer and execute the equivalent of virtually pressing them from the terminal via ssh (what would normally be a user pressing them)? ...
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 ...
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
21 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 ...
0
votes
1answer
47 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
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
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 ...
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
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
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 ...