해피해킹으로 KVM을 통해 맥과 윈도우를 왔다갔다하다보니 손가락이 방황(?)을 하는일이
자주 발생하여 맥 키보드 설정 및 Karabiner-Elements을 통해 키매핑을 하였다.
- 키보드 command <-> control 변경
설정 -> 키보드 -> 키보드 단축키 -> 보조 키 -> 키보드 선택 -> command와 control 서로 변경
- fn+home, fn+end 입력시 페이지 업다운 기능 -> 윈도우 처럼 해당 라인 첫~끝이동으로 변경
1) Karabiner-Elements 다운로드 : https://karabiner-elements.pqrs.org/
2) Karabiner-Elements 실행
– compled modifications -> add predefined rule 클릭
– import more rules….. 클릭
– 웹페이지 열리면 PC-Style Shortcuts 검색 후 Import 클릭
– 추가된 정보에서 Home ket to the……과 end key to the….. 두 항목의 enable 선택
**** 맥북에서 사용중인 소스
{ "description": "End key to the end of the sentence (Command + Right). Doesnt work in terminal", "manipulators": [ { "from": { "key_code": "end", "modifiers": { "optional": ["any"] } }, "to": [ { "key_code": "right_arrow", "modifiers": ["control"] } ], "type": "basic" } ] }
{ "description": "Home key to the beginning of the sentence (Command + Left). Doesnt work in terminal", "manipulators": [ { "from": { "key_code": "home", "modifiers": { "optional": ["any"] } }, "to": [ { "key_code": "left_arrow", "modifiers": ["control"] } ], "type": "basic" } ] }
댓글