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wgKyBIb21lICovCiJeXFVGNzJCIiA9ICJtb3ZlVG9FbmRPZkRvY3VtZW50OiI7IC8qIEN0cmwgKyBFbmQgKi8KIiReXFVGNzI5IiA9ICJtb3ZlVG9CZWdpbm5pbmdPZkRvY3VtZW50QW5kTW9kaWZ5U2VsZWN0aW9uOiI7IC8qIFNoaWZ0ICsgQ3RybCArIEhvbWUgKi8KIiReXFVGNzJCIiA9ICJtb3ZlVG9FbmRPZkRvY3VtZW50QW5kTW9kaWZ5U2VsZWN0aW9uOiI7IC8qIFNoaWZ0ICsgQ3RybCArIEVuZCAqLwp9
맥에서 home, end 키가 내가 의도한바 대로 작동하지 않는것이 기본이다 애플은 왜 이랬을까 그래서 이것을 바로잡는 방법은 다음과 같다 터미널에서 아래 두 라인을 실행하자 sudo mkdir ~/Library/KeyBindings/; sudo vim ~/Library/KeyBindings/DefaultKeyBinding.dict; 그리고 ~/Library/KeyBindings/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 */ }