This note for me only
Create boot Installer USB
- Download a full macOS installer from Apple
- Format USB to "MacOS Extended" (USB must be >= 32GB)
- Use terminal to create the bootable installer
# Sequoia
sudo /Applications/Install\ macOS\ Sequoia.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume
# Sonoma
sudo /Applications/Install\ macOS\ Sonoma.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume
# Ventura
sudo /Applications/Install\ macOS\ Ventura.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolumeKeyboard & Trackpad Settings
Go to Keyboard Settings and then
- Should choose "U.S" instead of "U.S. International" because with the later, we have underline score below special
symbols like"
- For Vietnamese Input method, Don't choose built-in VN input options. Use OpenKey instead
(Need to allow this app in Privacy & Security if you don't want to turn off Gate keeper) because there have
uncomfortable underline when we type and I have problem when typing in some apps like Messenger,... - The OpenKey support auto switch input method smart: You're using Skype with
Vmode but
when you switch to Terminal the input method will be automaticallyEmode - The OpenKey support both Telex and VNI but I recommend you should use VNI to
avoid conflicts when typing English inVmode such asas => á, etc
- Turn off "Use F1, F2 etc. keys as standard function keys" if you rarely uses them.
- Key repeat rate -> Fast, Delay until repeat -> Short to skip delay when holding key
Other useful keyboard tips
- Enabled “Three finders to drag”: System Settings -> Accessibility -> Pointer Control -> Trackpad Options
- Short switch new desktops: Settings -> Keyboard -> Keyboard Shortcut -> Missing Control -> Checked all "Switch
to Desktop
Brew
Installation
/bin/bash -c "$(curl -fsSL <https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh>)"
# After installation, don't forget adding to PATH
echo 'eval $(/opt/homebrew/bin/brew shellenv)' >> ~/.zprofile
eval $(/opt/homebrew/bin/brew shellenv)Some commands
# install package
brew install package
# install app
brew install --cask app
# search package
brew search package
# list packages need to upgrade
brew outdated
# upgrade packages
brew upgradeCLI Tools
Checkout Repository: https://github.com/namnh198/dotfiles
# download dotfiles
git clone <https://github.com/namnh198/dotfiles> ~/.dotfiles
# go to .dotfiles directory
cd ~/.dotfiles
# install packages
brew bundle --file=~/.dotfiles/brew/Brewfile
# config zsh
stow zsh
# config nvim
stow nvim
...Other Settings
- Remove delay dock:
defaults write com.apple.dock "autohide-delay" -float "0" && killall Dock
- Paste as plain text
Cmd + Shift + V
- Cut & Paste file:
Cmd + C -> Cmd + V