ä»ã®äººãã©ããªããªã®ãæ°ã«ãªãã
èªåã®å ´åãåºæ¬ã¯ç¥ã½ããã®KeyRemap4MacBookã§Emacsã¢ã¼ããon ã( Emacå¨
ã·ã¹ãã ç°å¢è¨å® ->ãã¼ãã¼ãã¨ãã¦ã¹
ï¼Emacsã®ãã¼ãã¤ã³ãã«ãªãã¦ã人ã ã¨ï¼ã¿ã¼ããã«ã¨Safariã®ã¿ãåãæ¿ãã楽ã«ãªãã¾ãã
ï¼ã¡ãªã¿ã«Tigerã ã£ãé ã¯ä¸è¨ã®ãã¼ãã¤ã³ããVirtueDesktopã«ãã¦ã¦ããããç»é¢ãåãæ¿ãã¦ä½¿ã£ã¦ã¾ããã)
Quicksilver
ãã使ãã¢ããªã¯ã¯ã³ã¹ããã¼ã¯ã§openããããã«ãã¦ã¾ãã(å°ãªã
command + tab ã¨ã Witchã ã¨ã¢ã¤ã³ã³ãã¿ã¤ãã«ãè¦ã¦ç®çã®ã¢ããªãæ¢ãã®ãã¡ãã£ã¨ã ããªã¼ãã¼ãããã«ãªãã¾ãã常æ使ãã¢ããªã¯Quicksilverã§openã§ããããã«ãã¦ããã¨åãæ¿ããéãã§ãã(ãã§ã«éãã¦ããã¢ããªãQuicksilverã§openããã¨ãã®ã¢ããªã«ãã©ã¼ã«ã¹ãå½ã¦ã¦ãããï¼ãä¼ç¤¾ã§ä½¿ã£ã¦ãmacã§ã¡ã¼ã©ã¼ã¨ãIRCã¨ããç»é²ãã¦ã¿ããã§ããã©ãé »ç¹ã«è¦ã¦ãã¾ã£ã¦éä¸ã§ããªããªãã®ã§ããã¾ããã
F1,F2ã®applescriptã¯以前自作したã¦ã£ã³ãã¦ãµã¤ãºã®åãæ¿ãã¹ã¯ãªããã§ããï¼ãã¥ã¢ã«ãã£ã¹ãã¬ã¤ã ã¨ã¡ãã£ã¨æªããåãããããã§ãã) Leopardã§ãåãã®ã§éå®ãã¦ã¾ãã
QuickSilverã®å¼ã³åºã㯠ctrl + è±æ°ã«ãã¦ãããã§ããã©ãKeyRemap4MacBookã§è±æ°ãmeta(alt? option ?) ã«ãããåããªããªã£ãã®ã§ãmeta + return ã«ãã¦è©¦ãã¦ãã¾ãã
ï¼æ£ç´ãããããç»é²ãã¦ãä½ãã©ãã«ãã¤ã³ããã¦ãããå¿ããã®ã§ãç»é²æ°ãå°ãªãæ¹ãèªåã«ã¯åã£ã¦ãã¿ããã§ãï¼
~/Library/KeyBindings/DefaultKeyBinding.dict
~/Library/KeyBindings/DefaultKeyBinding.dictã«ä¸ã®XMLãæ¸ãã¦ã¾ããã©ãã§æ¾ã£ã¦ãããã®ãå¿ãã¦ãã¾ãã¾ãããCocoaã¢ããªã®ããã¹ãå ¥åæ¬ï¼NSTextãªãã¨ãã¯ã©ã¹ï¼ã®ãã¼ãã¤ã³ãããããã¾ããã¡ãã£ã¨ã ãEmacsã½ããªãã¾ããããæ¸ãã¦ããã¨TextEditãå¿«é©ã«ãªãã¾ãã
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>^ </key> <string>setMark:</string> <key>^_</key> <string>undo:</string> <key>^g</key> <string>abort:</string> <key>^s</key> <string>ISIM_incrementalSearch:</string> <key>^r</key> <string>ISIM_reverseIncrementalSearch:</string> <key>^i</key> <string>insertTab:</string> <key>^m</key> <string>insertNewline:</string> <key>^u</key> <string>deleteToBeginningOfParagraph:</string> <key>^w</key> <string>deleteWordBackward:</string> <key>^o</key> <string>complete:</string> <key>^r</key> <string>selectToMark:</string> <key>^x</key> <dict> <key>[</key> <string>moveToBeginningOfDocument:</string> <key>]</key> <string>moveToEndOfDocument:</string> <key>^s</key> <string>saveDocument:</string> <key>^x</key> <string>swapWithMark:</string> <key>^k</key> <string>performClose:</string> </dict> <key>~b</key> <string>moveWordBackward:</string> <key>~d</key> <string>deleteWordForward:</string> <key>~f</key> <string>moveWordForward:</string> <key>~p</key> <string>pageUp:</string> <key>~n</key> <string>pageDown:</string> </dict> </plist>
追è¨:
XMLã«ã¯ä¸è¨ã®ãªãã¡ã¬ã³ã¹ã«è¼ã£ã¦ããã¡ã½ããï¼ã®ä¸é¨ï¼ãç»é²ã§ããã£ã½ãã
http://www.oomori.com/cocoafw/ApplicationKit/NSResponder/index.html