There is only one truth. It is the source.

Dvorak with underscore unshifted

June 3, 2015

Tags: dvorak, karabiner, keyboard

Ever wanted to use Dvorak, but have the minus key mapped to underscore and vice versa? Or shift+space mapped to underscore? Here's the Karabiner config:

<?xml version="1.0"?>
<root>
  <item>
    <name>Swap Minus and Underscore</name>
    <identifier>private.swap_minus_and_underscore</identifier>
    <autogen>__KeyToKey__ KeyCode::QUOTE, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_SHIFT, KeyCode::MINUS</autogen>
    <autogen>__KeyToKey__ KeyCode::QUOTE, KeyCode::MINUS, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_SHIFT</autogen>
  </item>
  <item>
    <name>Shift Space For Underscore</name>
    <identifier>private.shift_space_for_underscore</identifier>
    <autogen>__KeyToKey__ KeyCode::SPACE, ModifierFlag::SHIFT_L, KeyCode::MINUS, ModifierFlag::SHIFT_L</autogen>
  </item>
</root>