요약
- Right Command → F19:
hidutil - 입력소스 전환:
Hammerspoon- 손쉬운 사용 + 입력 모니터링 권한 필요
- ₩ → backtick(`) 치환:
DefaultKeyBinding.dict - 시스템 설정의 입력소스 단축키: 해제
| -- Originated from: https://johngrib.github.io/wiki/hammerspoon-inputsource-aurora/ | |
| local ENGLISH_SOURCE_ID = "com.apple.keylayout.ABC" | |
| local BAR_ALPHA = 0.3 | |
| local BAR_COLOR = { red = 0.95, green = 0.25, blue = 0.25 } | |
| local canvases = {} | |
| local function clearBars() | |
| for _, c in ipairs(canvases) do c:delete() end | |
| canvases = {} |
| { | |
| "description": "Map Ctrl+ㅊ to Ctrl+C", | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "c", | |
| "modifiers": { | |
| "mandatory": ["control"], | |
| "optional": ["any"] | |
| } |
| { | |
| "description": "한글 모드에서만 Ctrl+b 입력시 영문으로 전환 후 명령어 전달", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "from": { | |
| "key_code": "b", | |
| "modifiers": { "mandatory": ["left_control"] } | |
| }, | |
| "to": [ |
| { | |
| "description": "Normalize modified F19 to plain F19 (split rules)", | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "f19", | |
| "modifiers": { | |
| "mandatory": ["left_shift"], | |
| "optional": ["any"] | |
| } |
| { | |
| "description": "Convert to en when ESC", | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "escape", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [ | |
| { |