[追è¨]
ã³ã¡ã³ãã§ææãããã¾ãããï¼Karabiner-Elementsã®GUIä¸ã§
complex modifications â Add rule â import more rules from the Internet â Exchange semicolon and colon
ãé¸æãããã¨ã§ææã®åä½ã®å®ç¾ãå¯è½ãªããã§ãï¼
å¾ã£ã¦æ¬è¨äºã¯colonã¨semicolonãå
¥ãæ¿ããã¨ãããããï¼ä»»æã®ãã¼ãå
¥ãæ¿ããæã®ããã®tipsã¨ãªãã¾ãï¼
[追è¨ããã¾ã§]
Macã®USãã¼ãã¼ãã®è©±ã§ãï¼
Karabinerã«ã¯colonã¨semicolonãå ¥ãæ¿ããã¨ããé ç®ãããï¼ããã大å¤ä¾¿å©ã ã£ãã®ã§ãã (ç¹ã«vimã使ã£ã¦ããã¨ãã¨ãã«ä¾¿å©)ï¼Karabiner-Elementsã§ã¯ãã®ãªãã·ã§ã³ãããã¾ããï¼ç¾æç¹ã§ã¯ï¼macOS Sierraä¸ã ã¨Karabiner-Elementsã使ãã»ããªãã®ã§ï¼ã¤ã¾ãGUIä¸ããcolonã¨semicolonãswapããæ¹æ³ãããã¾ããï¼
ããããcolonã¨semicolonãå
¥ãæ¿ãã¦ä½¿ãã¨ããã®ãã¢ã¬ãªã®ã§ï¼Sierraã«ç§»è¡ããã®ãæ©ã«å
ã«æ»ããã¨ãèããã®ã§ããï¼ãããå
¥ãæ¿ããç°å¢ã«æ
£ãã¦ãã¾ã£ã¦ããã®ã§é£ããï¼ãªãã¨ããããï¼ã¨ããããã§ä»¥ä¸ã ~/.config/karabiner/karabiner.json
ã«æ¸ãè¾¼ãã¨å
¥ãæ¿ããã§ããï¼
{ "global": { ... }, "profiles": [ { "complex_modifications": { ..., "rules": [ { "description": "Swap colon and semicolon", "manipulators": [ { "type": "basic", "from": { "key_code": "semicolon", "modifiers": { "optional": [ "caps_lock" ] } }, "to": [ { "key_code": "semicolon", "modifiers": [ "left_shift" ] } ] }, { "type": "basic", "from": { "key_code": "semicolon", "modifiers": { "mandatory": [ "shift" ], "optional": [ "caps_lock" ] } }, "to": [ { "key_code": "semicolon" } ] } ] } ] }, ... } ] }
profiles.complex_modifications.rules
ã®ä¸èº«ããã®ããã«æ¸ãã¨ææã®æåã¨ãªãï¼ããã£ãããã£ãï¼
ä»ã®ãã¼ã®å ¥ãæ¿ãã«ã¤ãã¦ãããã¨åæ§ãªæãã§æ¸ãè¾¼ãã¨ããããã§è¯ãã§ããï¼