LoginSignup
0
0

More than 5 years have passed since last update.

KeyRemap4MacBookでアンダースコアとバッククォートを入れ替える。

Posted at

どうしてもアンダースコアが遠かった

設定ファイルを開く

リンゴマーク > システム環境設定 > KeyRemap4MacBook > Misc & Uninstall(タブ) > Open private.xml

編集

private.xml
<?xml version="1.0"?>
<root>
  <item>
    <name>mame settings</name>
    <item>
      <name>swap ` for _</name>
      <identifier>private.swap_under_score</identifier>
      <autogen>--KeyToKey-- KeyCode::JIS_ATMARK, ModifierFlag::SHIFT_L, KeyCode::JIS_UNDERSCORE</autogen>
      <autogen>--KeyToKey-- KeyCode::JIS_UNDERSCORE, ModifierFlag::SHIFT_L, KeyCode::BACKQUOTE</autogen>
    </item>
  </item>
</root>

参考

マニュアル
http://pqrs.org/macosx/keyremap4macbook/xml.html.ja

定数を定義しているファイル
https://github.com/tekezo/KeyRemap4MacBook/blob/master/src/bridge/generator/keycode/data/KeyCode.data

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0