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
0
votes
1 answer

How do I tell bash to use /usr/local/bin/python3 instead of /usr/bin/python3?

I perl script that runs the following command: /bin/bash -c 'TASKRC=/Users/me/.taskrc /usr/local/bin/task add \'the task\'' The script works fine when the perl script is run from the command line. The command executes some python code in a library,…
StevieD
  • 6,925
  • 2
  • 25
  • 45
0
votes
0 answers

macOS: How to map `command-e` to `End` key in Powerpoint

I am trying to bind command-e to End key in the Powerpoint app. By default when I press commend-e, powerpoint creates an item and tabs in. I have tried following approach using this answer, which does not work. What may be the problem for it and how…
alper
  • 2,919
  • 9
  • 53
  • 102
0
votes
1 answer

French keyboard on macOS, altering the behavior of the tilde ~ key

Like most french users, when I want to go to my terminal home, I have to type cd ~ However, the keyboard requires me to press options + n and then space to disambiguate between me trying to do ñ or ~ for example. Is there a way to overload this…
Radioreve
  • 3,173
  • 3
  • 19
  • 32
0
votes
1 answer

How to exchange dash and underscore (karabiner)

On Karabiner rules (https://pqrs.org/osx/karabiner/complex_modifications/), there is no rule for Exchange dash and underscore. [Q] How to exchange dash and underscore through Karabiner or any alternative? Wanted exchange: - => _ and _ => -
alper
  • 2,919
  • 9
  • 53
  • 102
0
votes
0 answers

Implement Karabiner clone for MacOS

Karabiner is great, but it's not super. The way to code rules is not the best in Karabiner, and I was wondering, if one wanted to do the same thing Karabiner does, meaning implement a keyboard & mouse listener to override keys at the lowest level…
mjs
  • 21,431
  • 31
  • 118
  • 200
0
votes
1 answer

How do make karabiner type Ä?

I'm trying to map å (option-a) to ä (option-u, a) and Å (option-shift-a) to Ä (option-u, shift-a). I was able to figure out the first one: { "description": "German: å to ä", "manipulators": [ { "from": { …
Mike Stay
  • 1,071
  • 8
  • 17
0
votes
1 answer

track last pressed key

I want to map my mouse button to the last number key I pressed. I thought about using variables to track the last number key that was pressed. I tried { "from":{ "key_code":"0" }, "to":[ { "set_variable":{ …
theonlygusti
  • 11,032
  • 11
  • 64
  • 119
0
votes
1 answer

In Karabiner, can I map to a modified key from a hyperkey that is comprised of all modifiers?

I have my CapsLock mapped as a hyperkey. (See bottom of question for its configuration, if needed.) I know it works, because I've successfully mapped HyperKey+h / j / k / l to arrows, vi-style. Here's how one of the keys are configured, for…
Andrew Cheong
  • 29,362
  • 15
  • 90
  • 145
0
votes
1 answer

Mouse button as modifier

I would like to use a button on the mouse as a modifier for when I click another button. I found this https://github.com/tekezo/Karabiner-Elements/issues/1223 but it was closed due to inactivity. I have tried to use simultaneous in the from…
0
votes
0 answers

Can you set on Mac so forward word (alt+f or back alt+b) respect underscores as word boundaries?

Is this possible to change the behavior for alt+f and alt+b in terminal and other applications. I have them currently set to forward word and backword word, respectively. I'd like them to respect underscores but I didn't know if this was possible…
J Spen
  • 2,614
  • 4
  • 26
  • 41
0
votes
0 answers

Create custom keymap to enter Normal Mode in Karabiner VIM

I added this to the private.xml config file Ctrl C as Escape private.ctr_c_as_escape __KeyToKey__ KeyCode::C, ModifierFlag::CONTROL_L, …
carleryd
  • 152
  • 1
  • 11
0
votes
1 answer

Using Karabiner to remap COMMAND_R to Hash #

I have created a remapping in my private.xml file as follows to try and get round the need to use a modifier key to enter a hash: Command_R to Hash # (Alt+3)
Braunius
  • 95
  • 1
  • 11
-1
votes
1 answer

How to write a complex modification for Karabiner-Elements to make certain key combination get pressed twice

Good day to you all, I used to switch between 3 languages (Korean, English, German) while pressing ctrl+space (select the previous input source in mac keyboard setting) which is really annoying. Then I found Karabiner-Elements and use it on Mac m1…
-1
votes
1 answer

How to remap key combinations in Karabiner Elements?

i have currently switched to mac. However I am used to the keybinds in Windows. I want to map the keybinds differently so they resemble the windows keys. Especially i want to change following keys: Option + 5 = [ (in mac) to: control + command + 7 =…
Suharick
  • 21
  • 1
  • 4
1 2 3
4