Apple Silicon M1, M1 Pro, M1 Max 맥북 개발 세팅하기

s3ungw00n·2022년 3월 21일
0
post-thumbnail

2022년 3월 21일 업데이트 됨

Base

  • Homebrew
    https://brew.sh
  • iTerm2
    brew install --cask iterm2
  • Oh my zsh
    https://ohmyz.sh/#install
  • Chrome
    brew install --cask google-chrome
  • Pycharm
    brew install --cask pycharm
  • VSCode
    brew install --cask visual-studio-code
  • Slack
    brew install --cask slack

Input Source

ctrl+space는 IntelliJ에서 자동완성 단축키이므로, 한영전환을 Shift+Space로 바꿔준다.

기존엔 설정>키보드>단축키>입력소스 에서 fn+shift+space를 누르는 식으로 바꿔줄 수 있었는데, Monterey부터는 이 방식이 먹히지 않는다.

System에 있는 plist파일을 변경하는 hack이 있긴한데, 나는 시스템파일을 별로 건드리고 싶지 않아서 Karabiner-Elements를 이용한다.

  • Karabiner-Elements
brew install --cask karabiner-elements
Simple Modification에서 Caps Lock => Left Control로 변경

.config/karabiner/karabiner.json에 아래와 같이 rule추가. 저장하면 자동 적용됨. 이후 설정>키보드>단축키>입력소스에서 F18로 세팅.

"complex_modifications": {
                ...
                "rules": [
                    {
                        "description": "shiftspace to f18",
                        "manipulators": [
                            {
                                "from": {
                                    "key_code": "spacebar",
                                    "modifiers": {
                                        "mandatory": [
                                            "shift"
                                        ]
                                    }
                                },
                                "to": [
                                    {
                                        "key_code": "f18"
                                    }
                                ],
                                "type": "basic"
                            }
                        ]
                    }
                ]
            },
            ...

Node

  • node
    brew install node

Python

  • python 3.9.1
    brew install python@3.9

Terminal

  • Color
iTerm → Preferences → Profiles → Colors → Color Presets → Smoooooth
  • 화살표로 커서 자유롭게 이동
    iTerm → Preferences → Profiles → Keys → Key Mappings → Presets... → Natural Text Editing

  • Font: Fira Code

brew tap homebrew/cask-fonts
brew install --cask font-fira-code
iTerm → Preferences → Profiles → Text → Font → Fira Code

Neovim

brew install neovim
brew install fzf
/usr/local/opt/fzf/install
brew install ripgrep
profile
LOVE JS,Python

0개의 댓글