I use these dot files on all my machines. I try to aggregate as much of my them in one location and create symlinks to them from their expected locations. These are specific to my setup on my mac (for example, my usage of homebrew), but should mostly apply to other OSes as well.
Let's say you cloned this repo to ~/Development/configs.
And let's say the neovim config file is under ~/.config/nvim
- Change
~/.config/nvimto a symlink:ln -s ~/Development/configs/nvim nvim - Install neovim
brew install neovimorbrew install neovim --HEADif you want to install the nightly build. $ pip install neovim$ npm install -g neovim- Launch neovim:
nvim - Run
:checkhealthto see if there are any issues. - Upgrade the nightly build with
$ brew reinstall neovim - Install go binaries needed by vim-go:
:GoInstallBinaries
- ranger:
brew install ranger - ripgrep:
brew install ripgrep - fd:
brew install fd - LSP
- python:
$ npm i -g pyright - typescript:
$ npm install -g typescript typescript-language-server - bash:
$ npm i -g bash-language-server - golang:
$ brew install go && brew install gopls - Prettier (Neovim):
npm install --global prettier - Lua-fmt:
npm install --global lua-fmt
- python:
https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts
Install using homebrew:
$ brew tap homebrew/cask-fonts
$ brew install --cask font-hack-nerd-font
Note: make sure your terminal is set to this font. For example, in the alacritty.yml config file, I've set the font explicitly to Hack Nerd Font Mono.
https://github.com/alacritty/alacritty
$ brew install alacritty
Create a symlink from ~/.alacritty.yml to <project dir>/configs/alacritty.yml:
ln -s ~/Development/configs/alacritty.yml ~/.alacritty.yml
https://sw.kovidgoyal.net/kitty/
$ brew install --cask kitty
Create a symlink:
$ ln -s ~/Development/configs/kitty.conf ~/.conf/kitty/kitty.conf
$ brew install --cask ghostty
Create a symlink:
$ ln -s ~/Development/configs/ghostty.conf ~/Library/Application Support/com.mitchellh.ghostty
https://github.com/jesseduffield/lazygit
On Macs, lazygit keeps its configuration in ~/Library/Application Support/lazygit/config.yml
Create a symlink:
$ ln -s ~/Development/configs/lazygit.conf config.yml
Install:
$ sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
Link to my dotfiles:
$ ln -s ~/Development/configs/zsh/zlogin ~/.zlogin
$ ln -s ~/Development/configs/zsh/zprofile ~/.zprofile
$ ln -s ~/Development/configs/zsh/zshrc ~/.zshrc
$ ln -s ~/Development/configs/zsh/zshenv ~/.zshenv
https://github.com/romkatv/powerlevel10k#oh-my-zsh
Install for Oh My Zsh:
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
Create a symlink from ~/.p10k.zsh to <project dir>/configs/zsh/p10k.zsh
ln -s ~/Development/configs/zsh/p10k.zsh ~/.p10k.zsh
Configure it:
$ p10k configure
https://github.com/athityakumar/colorls#uninstallatio
Install:
$ gem install colorls
https://github.com/Peltoche/lsd
Install:
$ brew install lsd
https://github.com/tmuxinator/tmuxinator
Install:
$ gem install tmuxinator
Update:
$ gem update tmuxinator
List commands
$ tmuxinator commands
List projects:
$ tmuxinator [list|ls]
Copy existing project:
$ tmuxinator [copy|cp|c] {existing} {new}
Remove a project
$ tmuxinator [delete|rm] {project}
Edit project
$ tmuxinator open {project}