My dotfiles config for vim/tmux/alacritty/yabai/skhd
1) Clone into home directory
cd ~
git clone https://github.com/jonnyjones99/dotfiles.git
2) Symlink files to the correct directory
ln -s ~/.dotfiles/.config/nvim ~/.config/nvim
4) ZSH autocomplete/suggestions/syntax highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions && git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting && git clone https://github.com/zdharma-continuum/fast-syntax-highlighting.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/fast-syntax-highlighting && git clone --depth 1 -- https://github.com/marlonrichert/zsh-autocomplete.git $ZSH_CUSTOM/plugins/zsh-autocomplete
3) Nvim - Should auto install but if not
:Lazy -> 'I'
4) Tmux - install tpm packages
Ctrl + b -> 'I'
5) Nerd Font JetBrainsMono
6) Download PHP stubs for intelphense (optional but useful for PHP work I have to do occasionally)
composer global require php-stubs/wordpress-globals php-stubs/wordpress-stubs php-stubs/woocommerce-stubs php-stubs/acf-pro-stubs wpsyntex/polylang-stubs php-stubs/genesis-stubs php-stubs/wp-cli-stubs
Rather than symlinking each file you can use GNU stow to quickly symlink the entire folder structure to .config.
alias sites='cd ~/Local\ Sites/'
alias ..='cd ..'
alias ...='cd ../..'
alias ....='cd ../../..'
alias config='cd ~/.dotfiles'
alias ls='exa --icons --group-directories-first'
Useful wordpress ones to jump around wp directory
alias wpRoot='cd ../../../../../'
alias wpTheme='cd app/public/wp-content/themes/'
alias wpPlugin='cd app/public/wp-content/plugins/'
yabai: could not acquire lock-file! abort..
-- rm -rf /tmp/yabai*
TSEnable highlight