Last active
April 4, 2024 05:27
-
-
Save zi-gae/777c1b797bb01de79d35db556f760484 to your computer and use it in GitHub Desktop.
won(₩) to backtick(`)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ -f ~/Library/KeyBindings/DefaultkeyBinding.dict ]; then | |
echo "~/Library/KeyBindings/DefaultkeyBinding already" | |
exit 0 | |
fi | |
mkdir -p ~/Library/KeyBindings | |
cat << EOF > ~/Library/KeyBindings/DefaultkeyBinding.dict | |
{ | |
"₩" = ("insertText:", "\`"); | |
"~4" = ("insertText:","₩"); | |
} | |
EOF | |
echo "Success." |
실행 중이던 프로그램은 종료 후 다시 실행 시켜야 동작합니다
닫기가 아닌 프로세스 종료입니다.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
기존 원화 입력은
option+4
로 입력하실 수 있습니다.