git clone --recursive https://github.com/fredrikaverpil/dotfiles.git ~/.dotfiles
cd .dotfiles && ./install -vv
Note
See README_GIT.md for details on setting up git.
Install Xcode commandline tools:
xcode-select --install
sudo xcodebuild -license accept
Install Homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
🎶 Expand for x86 support.
When on an arm64 device, homebrew is installed in /opt/homebrew/bin/brew
. You
can install an x64 version in /usr/local/bin/brew
. See
installers/homebrew.sh for more info.
Note that per-project tooling (such as languages) are managed with pkgx, not with homebrew.
brew bundle --file=_macos/Brewfile
brew bundle --file=_macos/Brewfile_mas # requires being logged into the App Store
installers/neovim-distros.sh
installers/neovim-nightly.sh
# run LazyVim
NVIM_APPNAME=LazyVim nvim
# or run custom nvim config
nvim
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true
defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true
installers/set_hostname.sh $DESIRED_HOSTNAME
- Open up 9 Desktops in Mission control.
- Disable/enable in Keyboard → Keyboard shortcuts → Mission Control:
- Mission control
- Mission Control
- Application windows
- Move left a space
- Move right a space
- Switch to Desktop 1
- ...
- Switch to Desktop 9
- Mission control
- Mission control related in Desktop & Dock → Mission Control:
- Automatically rearrange Spaces based on most recent use.
- Shortcuts: Mission control keyboard shortcut
- Hot corners:
- Upper left: Mission Control
- Upper right: Desktop
- Lower left: Lock screen
- Lower right: Quick note
- Accessibility:
- Display:
- Reduce motion.
- Display:
- Keyboard
- Key repeat rate: fast
- Delay until repeat: short
- Dictation:
- Shortcut: Press (mic symbol)