- ソフトウェアアップデート
- 「システム設定」→「一般」→「ソフトウェアアップデート」で更新する。
- Homebrewをインストールする
- Homebrew公式サイトからコマンドをコピーしてターミナルで実行する。
- その間に以下設定をやってしまう。
- Touch ID
- Settings →「Touch ID & Password」
- キーボード入力を最速に
- Settings →「Keyboard」→「Keyboard Repeat」→「Fastest」
- Settings →「Keyboard」→「Delay Until Repeat」→「Short」
- Dockの位置とサイズを変える
- Settings →「Desktop & Dock」→「Size」→「Small」
- Settings →「Desktop & Dock」→「Dock Position on Screen」→「Left」
- Settings →「Desktop & Dock」→「Automatically hide and show the Dock」をオンにする。
- タップでクリックをオンにする
- Settings →「Trackpad」→「Point & Click」→「Tap to click」をオンにする。
- Homebrewでアプリを入れる
- ターミナルで次のコマンドを実行する。
brew install --cask google-japanese-ime hammerspoon raycast iterm2 google-chrome stats- Google IME: こっちのほうが好みだった
- Hammerspoon: USキーボードで日本語入力をするために使用。Karabiner-Elementsでも可だが以前Logi系との相性が悪かった。
- Raycast: Spotlightの代替。クリップボード履歴、ウィンドウ切り替え、ファイル検索などが便利。
- iTerm2: App HotKey が便利 (ショートカットキーでアプリの表示/非表示ができる)
- Google Chrome: ブラウザ
- Stats: CPUやメモリの使用率をメニューバーに表示するアプリ。
- ターミナルで次のコマンドを実行する。
- ログイン項目に追加するアプリを設定する。
- Settings →「General」→「Login Items & Extensions」→「+」で追加する。
- 追加するアプリ: Hammerspoon, Raycast, Stats
- デスクトップを5つ作ってショートカットを設定する
ctrl + ↑で Mission Control を開き、画面上部の「+」でデスクトップが合計5つになるまで追加する。- Settings →「Keyboard」→「Keyboard Shortcuts」→「Mission Control」で「Switch to Desktop 1」〜「Switch to Desktop 5」をオンにし、それぞれ
ctrl + 1〜ctrl + 5を割り当てる。
- たぶんここで一旦再起動するとよい。
- google-japanese-imeの設定
- settings →「Keyboard」→「Input Sources」→「Edit」→「+」→「Japanese」→「Hiragana (Google)」
- settings →「Keyboard」→「Input Sources」→「Edit」→「-」で「Japanese - Kana」
- Hammerspoonの設定
- メニューバーのHammerspoonアイコンをクリックして「Open Config」を選択する。
- Hammerspoon設定を参照してconfig.luaを作成する。
- メニューバーのHammerspoonアイコンをクリックして「Reload Config」を選択する。
- Raycastの設定
- スポットライトショートカット無効: settings → 「Keyboard」 → 「Keyboard Shortcuts」 → 「Spotlight」 → 「Show Spotlight search」をオフにする。
- RayCastを起動すると、ショートカット設定画面が表示されるので、cmd + space を設定する。
- クリップボード履歴: Raycast Settings →「Shortcuts」で「Clipboard History」の Hotkey を
cmd + shift + vにする。 - Window Management: Raycast Settings →「Shortcuts」→「Window Management」で、各コマンドの Hotkey を設定する。
- Left Half(左半分) →
cmd + ctrl + ← - Right Half(右半分) →
cmd + ctrl + → - Top Half(上半分) →
cmd + ctrl + ↑ - Bottom Half(下半分) →
cmd + ctrl + ↓ - Maximize(画面いっぱいに広げる) →
cmd + ctrl + Enter - Top Right Quarter(右上) →
cmd + ctrl + shift + → - Top Left Quarter(左上) →
cmd + ctrl + shift + ↑ - Bottom Left Quarter(左下) →
cmd + ctrl + shift + ← - Bottom Right Quarter(右下) →
cmd + ctrl + shift + ↓
- Left Half(左半分) →
- iTerm2の設定
- iTerm2 → Settings →「Keys」→「Hotkey」→「Show/hide iTerm2 with a system-wide hotkey」をオンにする。