본문 바로가기
운영체제

home, end key binding

by nomfang 2021. 4. 10.
728x90
반응형

1. 먼저 터미널을 실행 시키고 다음 경로로 이동

 

$ cd ~/Library

$ mkdir KeyBindings

$ cd KeyBindings

$ vi DefaultKeyBinding.dict

 

{ /* Remap Home / End keys to be correct */ "\UF729" = "moveToBeginningOfLine:"; /* Home */ "\UF72B" = "moveToEndOfLine:"; /* End */ "$\UF729" = "moveToBeginningOfLineAndModifySelection:"; /* Shift + Home */ "$\UF72B" = "moveToEndOfLineAndModifySelection:"; /* Shift + End */ "^\UF729" = "moveToBeginningOfDocument:"; /* Ctrl + Home */ "^\UF72B" = "moveToEndOfDocument:"; /* Ctrl + End */ "$^\UF729" = "moveToBeginningOfDocumentAndModifySelection:"; /* Shift + Ctrl + Home */ "$^\UF72B" = "moveToEndOfDocumentAndModifySelection:"; /* Shift + Ctrl + End */ }

 

3. 재부팅

 

 

반응형

댓글