입력기(input method), macOS와 친하게 - Karabiner-Elements
macOS Sierra를 사용하고 싶어도 Karabiner 때문에 참고 있었다. Karabiner는 지원이 끊겼고 Karabiner-Elements만 사용할 수 있는데, stable 버전까지는 먼 것 같아서.
오늘 홈페이지에 들어가 보니 안정화된 것 같아서 갈아탔다.
{ "title": "Emacs", "rules": [ { "description": "emacs - friendly input method", "manipulators": [ { "conditions": [ { "bundle_identifiers": [ "^org.gnu.Emacs" ], "type": "frontmost_application_unless" } ], "from": { "key_code": "spacebar", "modifiers": { "mandatory": [ "left_shift" ] } }, "to": [ { "key_code": "spacebar", "modifiers": [ "left_control", "left_shift" ] } ], "type": "basic" } ] } ] }
dotfiles에 key-remap/karabiner-elements.json 파일을 만들어서 사용하고 있다. ~/.config/karabiner/assets/complex_modifications
디렉터리에 파일을 만들면 karabiner-elements > preferences > complex modifications > add rule
클릭했을 때, 만든 룰을 추가할 수 있다. 심볼릭 링크를 만들어서 사용 중. script/add-karabiner-emacs-rules 스크립트 참고
Karabiner-Elements가 아닌 Karabiner를 사용 중이라면 <입력기(input method), OS X와 친하게> 글을 참고.
홈페이지 - https://pqrs.org/osx/karabiner/
Update <2018-02-24 Sat> karabiner-elements 업데이트 후 설정이 날아갔다. 빡쳐서 설정 파일에 끼워 넣기가 아닌 complex modification 룰 파일을 만들어서 karabiner에서 메뉴로 추가할 수 있게 했다.
C-x C-s C-x C-c
@ohyecloudy
,ohyecloudy@gmail.com