Skip to content

Instantly share code, notes, and snippets.

@480
Forked from redism/kr_won_to_backquote.sh
Created December 27, 2018 13:46
Show Gist options
  • Save 480/d7b14736ce15823aa7599e999e463416 to your computer and use it in GitHub Desktop.
Save 480/d7b14736ce15823aa7599e999e463416 to your computer and use it in GitHub Desktop.
macOS Sierra에서 원화(₩) 대신 백 쿼트(`) 입력하기
#!/bin/bash
if [ -f ~/Library/KeyBindings/DefaultkeyBinding.dict ]; then
echo "~/Library/KeyBindings/DefaultkeyBinding.dict already exists"
exit -1
fi
mkdir -p ~/Library/KeyBindings
cat << EOF > ~/Library/KeyBindings/DefaultkeyBinding.dict
{
"₩" = ("insertText:", "\`");
}
EOF
echo "Done."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment