macOS - Configuration

steps to configure new macOS installation.


basic setup

NOTE: to backup files on external NTFS HDD use Paragon Driver for Mac OS (http://www.seagate.com/support/downloads/item/ntfs-driver-for-mac-os-master-dl).

System Preferences

Apple ID

General

Dock

Users & Groups

Accessibility

NOTE: this option might cause significant delay when scrolling with inertia in iOS emulator.

Security & Privacy

Spotlight

Displays

Energy Saver

Keyboard

Mouse

Trackpad

Sound

Keyboard

Software Update

Network

Sharing

Date & Time

font configuration

these fonts should be installed to ~/Library/Fonts/ directory:

MacVim configuration

  1. MacVim
# $ZDOTDIR/.zlogin

defaults write org.vim.MacVim MMShowAddTabButton 0
defaults write org.vim.MacVim MMNoTitleBarWindow 1
defaults write org.vim.MacVim MMZoomBoth 1
defaults write org.vim.MacVim MMTextInsetTop 1
defaults write org.vim.MacVim MMTextInsetRight 3
defaults write org.vim.MacVim MMTextInsetBottom 5
defaults write org.vim.MacVim MMTextInsetLeft 5
defaults write org.vim.MacVim MMFullScreenFadeTime 0
# https://github.com/macvim-dev/macvim/issues/390#issuecomment-254252969
defaults write org.vim.MacVim SUEnableAutomaticChecks 0

# currently unused settings

# https://github.com/macvim-dev/macvim/wiki/FAQ#black-screen-on-full-screen
# it's longer required on macOS Mojave and MacVim 8.1-151_2
#defaults write org.vim.MacVim MMUseCGLayerAlways 1
#defaults write org.vim.MacVim MMNoFontSubstitution 1
#defaults write org.vim.MacVim MMNativeFullScreen 1
#defaults write org.vim.MacVim MMTabMinWidth 120
#defaults write org.vim.MacVim MMTabMaxWidth 250
#defaults write org.vim.MacVim MMTabOptimumWidth 200

in fact it’s not necessary to put these commands into $ZDOTDIR/.zlogin and run them every time new Zsh shell is started (which increases shell startup time): changes are persisted on OS level (in user defaults database) so it’s enough to run them only once.