June 24, 2020 โข โ๏ธโ๏ธ 10 min read
์ ๋ฐ์ดํธ 2021-04-21: ์์ฃผ ์ฌ์ฉํ๋ ์ ํ๋ฆฌ์ผ์ด์ ์ถ๊ฐํจ
๋งฅ๋ถ 2015๋ ํ์์ 2019๋ ํ์ผ๋ก ๋ฐ๊พธ๋ ๊น์ ์์ฑํ๋ ๋๋ง์ ๋งฅ๋ถ ์ธํ , ํ์ ์ ํ๋ฆฌ์ผ์ด์ ์ ๋ฆฌ
command
+ space
๋ก ๋ณ๊ฒฝcontrol
+ space
๋ก ๋ณ๊ฒฝํฐ์น๋ฐ ์ฌ์ฉ์ํ ๊ฐ๋ฅ
ํ์ธ๋ - ํ๊ฒฝ์ค์ - ๊ณ ๊ธ - ํด๋์ฐ์ ์ ๋ ฌ: ์๋์ฐ์์
์ค๋์ค ํ์ผ์ด ์์ ์ฑ์์ ์์ด๋ฆฌ๊ฒ ํ๊ธฐ
Material Theme
Preferences > Keyboard Shortcuts
Open Keyboard Shortcuts (JSON)
ํด๋ฆญ ํ ๋ค์ ์ฝ๋ ์ถ๊ฐcommand
+ ์ซ์ ์กฐํฉ์ผ๋ก ํญ ์ด๋ ๊ฐ๋ฅ[ { "key": "cmd+0", "command": "workbench.action.openLastEditorInGroup" }, { "key": "cmd+1", "command": "workbench.action.openEditorAtIndex1" }, { "key": "cmd+2", "command": "workbench.action.openEditorAtIndex2" }, { "key": "cmd+3", "command": "workbench.action.openEditorAtIndex3" }, { "key": "cmd+4", "command": "workbench.action.openEditorAtIndex4" }, { "key": "cmd+5", "command": "workbench.action.openEditorAtIndex5" }, { "key": "cmd+6", "command": "workbench.action.openEditorAtIndex6" }, { "key": "cmd+7", "command": "workbench.action.openEditorAtIndex7" }, { "key": "cmd+8", "command": "workbench.action.openEditorAtIndex8" }, { "key": "cmd+9", "command": "workbench.action.openEditorAtIndex9" }, { "key": "ctrl+1", "command": "workbench.action.focusFirstEditorGroup" }, { "key": "ctrl+2", "command": "workbench.action.focusSecondEditorGroup" }, { "key": "ctrl+3", "command": "workbench.action.focusThirdEditorGroup" }, { "key": "cmd+'", "command": "editor.action.goToTypeDefinition" } ]
์ฃผ๋ก Alfred์ Clipboard History, Snippets, Web Search, Workflows ๊ธฐ๋ฅ์ ์ฌ์ฉํ๋ค.
cslg
๋ค๊ธ์๋ง ์
๋ ฅํ๋ฉด console.log({cursor});
๊ณผ ๊ฐ์ ์ฝ๋๊ฐ ์์ฑ๋๋๋ก ํ๋ ๋ฑ ์ค์ ํ ์ ์๋ค./bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
npm install -g yarn
ssh-keygen -t rsa -C {์ด๋ฉ์ผ}
ssh-add ~/.ssh/id_rsa
๊นํ์ ํค ๋ฑ๋ก
github -> settings -> SSH and GPG keys -> New SSH Key -> public key ๋ณต๋ถ!
ssh-agent
๋ก agent๋ฅผ ์คํchsh -s /usr/bin/zsh
~/.zshrc
ํ์ผ์ ๋ค์ด๊ฐ์ ZSH_THEME="agnoster"
๋ก ํฐ๋ฏธ๋ ํ
๋ง ๋ณ๊ฒฝ
ubuntu mono derivative powerline ํฐํธ ์ค์น
iTerm 2 -> Preferences -> Profile -> Text -> Font ๋ณ๊ฒฝ
dracula
ํ
๋ง ์ ์ฉgit clone https://github.com/dracula/iterm.git
iTerm 2 -> Preferences -> Profile -> Color -> Color Presets ๋ณ๊ฒฝ
~/.zshrc
ํ์ผ ๋งจ๋ฐ์ ๋ฃ์ด์ฃผ๋ฉด ๋๋ค.
prompt_context() {
emojis=("๐ฅ" "๐ฅ" "๐" "๐" "๐ต" "๐ฆ" "๐" "๐" "๐ก" "๐" "๐ฐ๐ท" "๐" "๐")
RAND_EMOJI_N=$(( $RANDOM % ${#emojis[@]} + 1))
prompt_segment black default "${emojis[$RAND_EMOJI_N]} "
}
zsh
ํ๋ฌ๊ทธ์ธ zsh-syntax-highlighting
์ค์นํฐ๋ฏธ๋์์ ์ฌ์ฉ ๊ฐ๋ฅํ ์ปค๋งจ๋๋ ์ด๋ก์, ์ฌ์ฉ ๊ฐ๋ฅํ์ง ์์ ์ปค๋งจ๋๋ ๋นจ๊ฐ์์ผ๋ก ํ์ํด์ค
# brew๋ฅผ ํตํด ์ค์นํด์ค๋๋ค.
brew install zsh-syntax-highlighting
# ํ๋ฌ๊ทธ์ธ์ ์ ์ฉํฉ๋๋ค.
source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
# ์ ์ปค๋งจ๋๋ฅผ ~/.zshrc ๋งจ ์๋์ ๋ฃ์ต๋๋ค.
Personal blog by Jon Jee.
I hope to explain with words and code.