クリーンインストールをした時の初期設定の内容を自分向けにメモ。
(英語環境なので、設定項目などは英語名)
Homebrew
Homebrewをインストールする。
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
インストール後、Brewfileのあるディレクトリで下記コマンドを実行。(BrewfileはGistとかにアップしてもいいかも:要検討)
brew bundle
必要最低限のツールはインストールされているはず。
Macの設定
System Preferences
環境設定からの内容。
- Desktop & Screen Saver
- Screen Saver
-
Start afterをNeverに変更
-
- Screen Saver
- Dock
-
Sizeを最大に -
Position on screenをRightに
-
- Displays
- Display
- Resolution
-
Scaledに変更し、最大に
-
- Resolution
- Display
- Keybboard
- Keyboard
-
Key Repeatを最大に(Terminalで変更するので不要かも) -
Delay Until Repeatを最大に -
Use F1, F2, etc. keys as standard function keysを有効化
-
- Shortcuts
- Keyboard
-
Move focus to next windowをoption + tabに変更
-
- Keyboard
- Input Sources
- Google IMEのAlphanumericとHiraganaのみにする
- Keyboard
- Trackpad
- Point & Click
-
Secondary clickを無効化 -
Tap to clickを無効化
-
- Scroll & Zoom
-
Scroll direction: Naturalを無効化 -
Zoom in or outを無効化 -
Smart zoomを無効化 -
Rotateを無効化
-
- More Gestures
-
Swipe between pagesをthree fingersに変更 -
Notification Centerを無効化 -
Mission Controlを無効化 -
App Exposeを無効化 -
Launchpadを無効化 -
Show Desktopを無効化
-
- Point & Click
- Date & Time
- Clock
- Date options
-
Show dateを有効化
-
- Date options
- Clock
Terminal
ターミナルから直接変更するのは、キーリピート周り。
defaults write -g InitialKeyRepeat -int 10
defaults write -g KeyRepeat -int 1
ついでにRictyフォントを有効化しておく(Homebrewでインストール済み)
cp -f /usr/local/opt/ricty/share/fonts/Ricty*.ttf ~/Library/Fonts/
fc-cache -vf
個人的にはRicty Discordが好きだけど、Cicaとかも良いフォントだと思うので、こちらもオススメ。
Finder
- Preferences
- Sidebar
- ホームディレクトリを表示する
- Advanced
-
Show all filename extensionsを有効化 -
Keep folders on top when sorting by nameを有効化
-
- Sidebar
また、⌘ + Shift + .を押して不可視ファイルを表示させておく。
Karabiner-Elements
- Simple Modifications
-
caps_lockをleft_controlに割り当てる
-
- Complex Modifications
- Add rule
- Import〜 で
For Japanese(日本語環境向けの設定)を追加
- Import〜 で
-
コマンドキーを単体で押したときに、英数・かなキーを送信する。(左コマンドキーは英数、右コマンドキーはかなを有効化
- Add rule
Alfred
ランチャーはSpotlightでも良いかもしれないけど、とりあえずは使い慣れてるAlfredを継続利用する。
- General
-
Alfred Hotkeyをoption + Spaceにする
-
- Appearance
-
Alfred Darkに変更 - Options
-
Hide hat on Alfred windowを有効化 -
Hide result shortcutsを有効化 -
Hide menu bar iconを有効化 -
Show Alfred onをmouse screenに変更
-
-
Visual Studio Code
Settin Syncをインストールして、Download Settingsを実行する。必要なプラグインや設定内容はこれでインポートされるはず。
fish
fishが今のところいい感じ。Homebrewでインストール済みなので、下記設定を行う。
/etc/shellsの末尾に/usr/local/bin/fishを追記。
sudo vi /etc/shells
fishをデフォルトにする。
chsh -s /usr/local/bin/fish
fisherman
fishermanもインストールしておく。
curl -Lo ~/.config/fish/functions/fisher.fish --create-dirs https://git.io/fisher
テーマはoh-my-fishのデフォルトテーマが好みなので、そちらをインストールする。
fisher add fisherman/git_util
fisher add oh-my-fish/theme-default
TODO
fisher lsが動かなくなっちゃったので、何を入れたのか忘れてしまった。要検証。
その他
- パスワードマネージャーの設定
- 各種ブラウザのユーザにログインして設定を同期
その他、気づいたことがあれば随時追記。