Skip to content

Instantly share code, notes, and snippets.

@msolomon
Created December 2, 2014 17:02
Show Gist options
  • Select an option

  • Save msolomon/b89baf99b872257afe51 to your computer and use it in GitHub Desktop.

Select an option

Save msolomon/b89baf99b872257afe51 to your computer and use it in GitHub Desktop.
Karabiner - Tap shift to move wordwise
<?xml version="1.0"?>
<root>
<item>
<name>Tap shift to move wordwise</name>
<appendix>Shifts move the cursor one word forward or backward when pressed alone. When used with other keys they act as normal shifts.</appendix>
<identifier>private.shifts_to_forward_backward_word</identifier>
<autogen>--KeyOverlaidModifier-- KeyCode::SHIFT_R, ModifierFlag::SHIFT_R | ModifierFlag::NONE, KeyCode::SHIFT_R, KeyCode::CURSOR_RIGHT, ModifierFlag::OPTION_L</autogen>
<autogen>--KeyOverlaidModifier-- KeyCode::SHIFT_L, ModifierFlag::SHIFT_L | ModifierFlag::NONE, KeyCode::SHIFT_L, KeyCode::CURSOR_LEFT, ModifierFlag::OPTION_L</autogen>
</item>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment