TextMateでEmacsキーバインディング

Posted by yatsu Fri, 24 Jun 2005 00:21:00 GMT

Emacsキーバインディングで使いたい場合は EmacsKeybindings in TextMate が参考になります。 そこにあるDefaultKeyBinding.dictを使い、 /Applications/TextMate.app/Contents/Resources/KeyBindings.dict にある
"^f" = "reformatText:";
を削除します。 これを消しておかないと、control+f でパラグラフの再フォーマットが実行されてしまいます。

1.1b13の場合はこれだけでOKですが、1.1b5ではInterface Builderで TextMate.app/Contents/Resources/English.lproj/MainMenu.nib を開いて、メニューにある「Text」→「Reformat Paragraph」のKey EquivalentとKey Modifierを別のキーに変更しないとダメでした。

その他の設定も変更しておくと便利です。僕は
"~/" = "nextCompletion:";
を追加しています。

これでもまだ使いづらいところはありますが、お金を払っているので意地でも使い続けます!:)

Comments

Trackbacks

Use the following link to trackback from your own site:
http://yatsu_info/articles/trackback/20587

(leave url/email »)

   Comment Markup Help Preview comment