Shammer's Philosophy

My private adversaria

Karabiner Configuration Memo ver 20151116

My private.xml

<?xml version="1.0"?>
<root>
  <list>
    <item>
      <name>Disable all settings when using Emacs</name>
      <identifier>private.emacs_passthrough</identifier>
      <appendix>(Using __PassThrough__ and only)</appendix>
      <only>EMACS</only>
      <autogen>__PassThrough__</autogen>
    </item>
    <item>
      <name>Disable all settings when using iTerm2</name>
      <identifier>private.iterm2_passthrough</identifier>
      <appendix>(Using __PassThrough__ and only)</appendix>
      <only>TERMINAL</only>
      <autogen>__PassThrough__</autogen>
    </item>
    <item>
      <name>Right_Alt to Sticky Shift_L</name>
      <identifier>private.option_R_sticky-shift</identifier>
      <autogen>__KeyOverlaidModifier__ KeyCode::OPTION_R, KeyCode::SHIFT_L, KeyCode::VK_STICKY_SHIFT_L</autogen>
    </item>
<!--
    <item>
      <name>Semicolon to Sticky Shift_L</name>
      <appendix>(effective only when input source is Japanese)</appendix>
      <identifier>remap.jis_semicolon2stickyshiftL</identifier>
      <inputsource_only>JAPANESE</inputsource_only>
      <autogen>__KeyOverlaidModifier__ KeyCode::SEMICOLON, KeyCode::SHIFT_L, KeyCode::VK_STICKY_SHIFT_L</autogen>
    </item>
-->
  </list>
</root>

Checked configuration list

  • My private.xml
    • Disable all settings when using Emacs
    • Disable all settings when using iTerm2
    • Right_Alt to Sticky Shift_L
  • Ignore apps & devices
    • Disable all settings while you are using virtual machine.
  • For Japanese
    • Change Semicolon(;) Key
      • Semicolon to Sticky Shift_L(effective only when input source is Japanese)
      • セミコロン(;)は常に半角
    • Change Yen(\) Key
      • JIS Yen(\) to Backslash(\)(except virtual machine, X11, RDC)
    • Change Keyboard Layout
      • Use Japanese Keyboard as US Keyboard