LoginSignup
1
1

More than 5 years have passed since last update.

Sequel ProのC-hをKarabiner(KeyRemap4MacBook)で置き換える

Last updated at Posted at 2014-07-12

Sequel Proを使っているが、C-hでヘルプが開くのがつらすぎるのでKarabiner (formally known as KeyRemap4MacBook)を使って置き換えてみた。

private.xml
<?xml version="1.0"?>
<root>
  <appdef>
    <appname>SEQUEL_PRO</appname>
    <equal>com.sequelpro.SequelPro</equal>
  </appdef>

  <item>
    <name>Sequel Pro C-h to backspace</name>
    <identifier>private.app_sequel_pro_c_h_to_backspace</identifier>
    <only>SEQUEL_PRO</only>
    <autogen>
      __KeyToKey__
      KeyCode::H, ModifierFlag::CONTROL_L,
      KeyCode::DELETE
    </autogen>
  </item>
</root>

メモ

  • ちょうどこれ書いてるときにアップデートかかってKarabinerという名前に変わった。ググラビリティ低いし、Alfredで呼び出すときにも迷う。
  • 参考にしたのはprivate.xml Reference Manual
  • EventViewerApplication Bundle Identifierを調べるのがポイント。コピペしにくいのがつらい。
1
1
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
1
1