Questions tagged [karabiner]

Questions about extending Karabiner's functionality through use of private.xml

Karabiner, formerly called KeyRemap4MacBook, is an application for Mac OS X that allows the user to take complete control of keyboards and mice by setting up custom keybindings. It ships with hundreds of built-in bindings, fixes for common annoyances or broken drivers, and examples.

Bindings can be as simple as switching the Tab and the Return keys, or as complex as defining series of keystrokes and simulated mouse clicks and movements to occur in response to a single user action.

Karabiner is extended through an XML-based file, private.xml, that defines custom mouse and keyboard bindings.

59 questions
2
votes
1 answer

map key to the pipe symbol (|) in karabiner-elements

I'm trying to bind shift + delete to | in karabiner, for my HHKB keyboard. I indeed can map the above sequence to backslash, which is probably the lower case |, but I haven't found any way to map it directly to the | char. This is what I've tried: …
timfeirg
  • 1,426
  • 18
  • 37
2
votes
1 answer

Karabiner elements delete a line

I'm new to Karabiner on Mac and I'm trying to map left_option + e to deleting a line. I know this involves defining the following keystrokes for left_command + e: left_command + shift + left_arrow + backspace_or_delete, but I don't know how to input…
Jason
  • 1,200
  • 1
  • 10
  • 25
2
votes
1 answer

Applescript to Map Esc to Caps Lock when tapped; Control to Caps Lock when pressed (macOS Sierra)?

I am well aware of karabiner-elements which is still in development to enable this key mapping in macOS Sierra. However, at the current moment it doesn't work. My thought is that if I map Caps Lock to Control in Preferences/Keyboard/Modifier Keys…
2
votes
1 answer

In Karabiner, how do I set a button to toggle auto-hold that button?

I'm trying the examples in private.xml. I want to do this: When I press control + W, I want it to automatically hold W (until I press control + W again). And when I do control +left click, I want it to hold left click until I put in the command…
yimmy
  • 436
  • 6
  • 13
1
vote
0 answers

Execute shell command on window change - mac os

The Situation: I am working on an Mac Book Pro from my company and connecting to a virtual desktop via VMware Horizon Client. I am using the beautiful Neo2 keyboard layout (https://www.neo-layout.org/) which uses karabiner elements…
Xlaech
  • 456
  • 3
  • 19
1
vote
0 answers

How to reuse Karabiner rule?

I have the following rule: { "description": "Cmd+Opt+7 ↦ {space≔7, Cmd+Opt+7}", "manipulators": [ { "type": "basic", "from": { "key_code": "keypad_7", "modifiers": { …
Noel Yap
  • 18,822
  • 21
  • 92
  • 144
1
vote
1 answer

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 reason, it's not working how I designed…
arkosno
  • 51
  • 5
1
vote
0 answers

Map Command+= to Command+Wheel Scroll?

is there a way to do that, coz i use that a lot to zoom, like in chrome. changing to command+= requirez both of my hands to be on keyboard, i get used to just pressing a key and scrolling the wheel on my mouse on Windows. i alse tried…
kiswelrg
  • 23
  • 4
1
vote
1 answer

How to make mac go to sleep with holding down a key with Karabiner?

I'd like to make a complex modification that makes macOS to go to sleep when I holding the F6/☾ key. The following config is working BUT when I release the key that wakes up the OS instantly. Maybe it can be combine with to_after_key_up but can't…
erkage
  • 110
  • 3
  • 14
1
vote
0 answers

Karabiner-Elements map a key to a combination of mouse button AND key

I saw this, but I couldn't find how to remap to a combination of key plus mouse button. Is it possible to assign a letter to a key + mouse button combination? Remap "f3" to ("q" + “button3") for example
liet
  • 11
  • 1
1
vote
1 answer

How to use Karabiner to Map Ctrl + Left Mouse Click to Move left a space

I'm trying to use complex rules in Karabiner to map Ctrl+Left-Mouse-Click and Ctrl+Right-Mouse-Click to switch MacOS desktop spaces to the left and right -- basically map them to Ctrl+Left-Arrow and Ctrl+Right-Arrow respectively. Does this rule…
Sammy
  • 3,395
  • 7
  • 49
  • 95
1
vote
1 answer

Open Context Menu at selected item in macOS Finder using keyboard only with Karabiner

While navigating macOS Finder with my keyboard, I want to be able to pull up the context menu for a file. This typically done by performing a right click of the mouse. This means that my searches for how to produce the context menu using only the…
Rob Creel
  • 563
  • 2
  • 13
1
vote
1 answer

adding delay to mouse movement script in JSON

So I am trying to make a script to move my mouse to navigate the menus in game faster. I've made it so the 'to' has multiple items, which it works fine until I add the second click then the mouse no longer moves when executed (I assume because the…
Bashwy
  • 11
  • 1
1
vote
1 answer

Karabiner-Elements I want to change key bind input same key + => = ,= => +

please tell me. I use mac's magic key board. this key board is [+] and [=] on same input key So, [=] is default input key [=] [+] is default input key [=] + [shift key] I want to be inversion but,Not going well please tell me. Under,ideal…
Yuta Inoue
  • 11
  • 2
1
vote
1 answer

Karabiner-Elements Ctrl + Left Click to Left Click doesn't work

Using Mac OS Catalina and on Mac OS a Ctrl + Left click = Right click. This is very annoying however I found a post that showed how Karabiner-Elements could fix this. I imported the rule and it is enabled, however it still doesn't work and Ctrl +…