Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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."
@redism

This comment has been minimized.

Copy link
Owner Author

commented Apr 26, 2017

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

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

This comment has been minimized.

Copy link
Owner Author

commented Apr 26, 2017

https://ani2life.com/wp/?p=1753 링크를 참고했습니다. 머신마다 실행하기가 귀찮아서 만들어봤습니다.

@eubnara

This comment has been minimized.

Copy link

commented May 3, 2017

참 편리하군요!

@choiks14

This comment has been minimized.

Copy link

commented Jun 18, 2017

감사합니다.

@b6pzeusbc54tvhw5jgpyw8pwz2x6gs

This comment has been minimized.

Copy link

commented Aug 16, 2017

감사합니다!

@Gyong1211

This comment has been minimized.

Copy link

commented Sep 8, 2017

감사합니다! 혹시 블로그에 출처를 적고 해당 명령어를 포스팅해도 될까요?

@simnalamburt

This comment has been minimized.

Copy link

commented Sep 27, 2017

한줄로 실행하는법입니다.

if ! [ -f ~/Library/KeyBindings/DefaultkeyBinding.dict ]; then mkdir -p ~/Library/KeyBindings && echo '{"₩" = ("insertText:", "\`");}' > ~/Library/KeyBindings/DefaultkeyBinding.dict; fi
@yeojoy

This comment has been minimized.

Copy link

commented Oct 31, 2017

리스펙트 👍 합니다!

@ghost

This comment has been minimized.

Copy link

commented Nov 24, 2017

흑흑 감사합니다

@perfectacle

This comment has been minimized.

Copy link

commented Dec 3, 2017

다들 감사합니다 !!

@codian

This comment has been minimized.

Copy link

commented Feb 27, 2018

👍

@sehyunchung

This comment has been minimized.

Copy link

commented Apr 18, 2018

감사합니다!<3

@zxzl

This comment has been minimized.

Copy link

commented Apr 28, 2018

에고 감사합니다 ㅜㅜ

@cnaa97

This comment has been minimized.

Copy link

commented Jul 2, 2018

굿굿

@yoojinyoung

This comment has been minimized.

Copy link

commented Jul 4, 2018

감사합니다

@clara-shin

This comment has been minimized.

Copy link

commented Jul 15, 2018

감사합니다 !!! 👍

@say8425

This comment has been minimized.

Copy link

commented Sep 3, 2018

👍

@redutan

This comment has been minimized.

Copy link

commented Sep 20, 2018

재부팅을 하니 제대로 잘 나오네요 :)

@channprj

This comment has been minimized.

Copy link

commented Sep 27, 2018

머신 바꾸면서 설정법을 까먹었는데 덕분에 유용하게 잘 사용했습니다. 고맙습니다.

@incleaf

This comment has been minimized.

Copy link

commented Dec 4, 2018

😇👍👍

@greenmonn

This comment has been minimized.

Copy link

commented Jan 15, 2019

👍

@b6pzeusbc54tvhw5jgpyw8pwz2x6gs

This comment has been minimized.

Copy link

commented Jan 19, 2019

macOS Mojave 10.14.2 버전에서도 여전히 잘 되네요, 재부팅 필요하구요!

@Gyubin

This comment has been minimized.

Copy link

commented Apr 19, 2019

ㄴ 아 재부팅이 필요하군요!! 안되길래 뭐가 잘못됐는지 계속 봤네요. 감사합니다!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.