1. 터미널에서

hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x7000000e7,"HIDKeyboardModifierMappingDst":0x70000006d}]}'

입력

설정 키보드 입력소스 선택에서 F18로

2. 키 매핑 수정했던 걸 원래대로 돌리고 싶다면

hidutil property --set '{"UserKeyMapping":[]}'

이 명령어를 실행하면 된다.