- Update macOS to the latest version with the App Store
- Install Xcode from the App Store, open it and accept the license agreement
- Install macOS Command Line Tools by running
xcode-select --install
- Copy public and private SSH keys to
~/.ssh
and make sure they're set to600
- Clone this repo to
~/.dotfiles
- Run
install.sh
to start the installation - Restart your computer to finalize the process
Your Mac is now ready to use!
Note: you can use a different location than
~/.dotfiles
if you want. Just make sure you also update the reference in the.zshrc
file.
Neovim is a fork and drop-in replacement for vim. in most cases, you would not notice a difference between the two, other than Neovim allows plugins to run asynchronously so that they do not freeze the editor, which is the main reason I have switched over to it. Vim and Neovim both use Vimscript and most plugins will work in both (all of the plugins I use do work in both Vim and Neovim). For this reason, they share the same configuration files in this setup. Neovim uses the XDG base directory specification which means it won't look for a .vimrc
in your home directory. Instead, its configuration looks like the following:
Vim | Neovim | |
---|---|---|
Main Configuration File | ~/.vimrc |
~/.config/nvim/init.vim |
Configuration directory | ~/.vim |
~/.config/nvim |
Vscode does not work with automatic symlinking.
Commands to symlink settings:
ln -s /Users/christophvanhees/.dotfiles/VSCode/settings.json /Users/christophvanhees/Library/Application\ Support/Code/User/settings.json
ln -s /Users/christophvanhees/.dotfiles/VSCode/keybindings.json /Users/christophvanhees/Library/Application\ Support/Code/User/keybindings.json
ln -s /Users/christophvanhees/.dotfiles/VSCode/snippets/ /Users/christophvanhees/Library/Application\ Support/Code/User