맥 한영 전환 설정

 다음 파일을 참고하여 


Mac OS에서 기본 한글 입력기 + Karabiner-Elements 이용 한글 입력 설정법 - Sang-il Oum (엄상일) (엄상일) (ibs.re.kr)


Karabiner 를 설정한다. 본인은 3벌식을 사용하므로 input source 를 .3SetKorean 으로 설정



{
    "title": "For Korean PC Keyboard (Sang-il)",
    "rules": [
    {
            "description": "Change shift space to shift+control+space",
            "manipulators": [
        {
            "from": {
            "key_code": "spacebar",
            "modifiers": {
                "mandatory": [
                "shift"
                ]
            }
            },
            "conditions": [
            {
                "type": "frontmost_application_unless",
                "bundle_identifiers": [
                "^org\\.gnu\\.Aquamacs$",
                "^com\\.vmware\\.fusion$"
                ]
            }
            ],
            "to": [
            {
                "key_code": "spacebar",
                "modifiers": [
                "right_control", "right_shift"
                ]
            }
            ],
            "type": "basic"
        }
        ]
    },
    {
            "description": "Make control key work in Korean mode",
            "manipulators": [
        {
            "from": {
            "key_code": "left_control",
            "modifiers": {
                "optional": ["any"]
            }
            },
            "conditions": [
            {
                "type": "input_source_if",
                "input_sources": [
                {
                    "language": "^ko$",
                    "input_source_id": "^com\\.apple\\.inputmethod\\.Korean\\.3SetKorean$"
                }
                ]
            }
            ],
            "to": [
            {
                "select_input_source":
                {
                "language": "^en$"
                }
            },
            {
                "key_code":"left_control"
            }
            ],
            "to_after_key_up": [
            {
                "select_input_source":
                {
                "language": "^ko$",
                "input_source_id": "^com\\.apple\\.inputmethod\\.Korean\\.3SetKorean$"
                }
            }
            ],
            "type": "basic"
        }
        ]
    }
    ]
}

그리고 맥 환경 설정 - Keyboard Shorcuts - Input Sources 에서 control - shift - space 로 설정 변경




댓글

이 블로그의 인기 게시물

pandas.read_csv() 에서 왠만하면 컬럼타입을 지정하자

스프링 컨텍스트 설정파일과 URI 경로를 제대로 못찾는 삽질