Skip to content

Instantly share code, notes, and snippets.

@vzts
Forked from redism/kr_won_to_backquote.sh
Created March 4, 2020 15:10
Show Gist options
  • Save vzts/0ff1944a2eeed067674d5deca4b9ed76 to your computer and use it in GitHub Desktop.
Save vzts/0ff1944a2eeed067674d5deca4b9ed76 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