Skip to content

Instantly share code, notes, and snippets.

@kanziw
Forked from redism/kr_won_to_backquote.sh
Created June 5, 2017 01:16
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 kanziw/d68a21ed7bc1e7f9dae7ecd7f20e2939 to your computer and use it in GitHub Desktop.
Save kanziw/d68a21ed7bc1e7f9dae7ecd7f20e2939 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."
@kanziw
Copy link
Author

kanziw commented Jun 5, 2017

다음 명령어로 실행할 수 있습니다.

curl -sSL https://gist.githubusercontent.com/redism/43bc51cab62269fa97a220a7bb5e1103/raw/0d55b37b60e0e0bd3d0d7f53995de0a722f9820c/kr_won_to_backquote.sh | sh

from redism

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment