Skip to content

Instantly share code, notes, and snippets.

@channprj
Forked from redism/kr_won_to_backquote.sh
Created September 27, 2018 02:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save channprj/1eab8c109f10949ac8d4cb27fed32cdc to your computer and use it in GitHub Desktop.
Save channprj/1eab8c109f10949ac8d4cb27fed32cdc 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