This repo holds configuration files for tooling I use regularly while working on MacOS
Neovim and some other parts of the setup are also used on Windows.
git --versiongit clone git@github.com:radlinskii/dotfiles.git./scripts/install.shTo only run parts of install.sh responsible for specific configurations pass flags to it:
- for linking config files run it with flag
-lor--link. - to only configure
MacOSspecific settings run it with flag-mor--mac. - to only install
Homebrewpackages run it with flag-bor--brew. - to install
oh-my-zshuse-oor--omzflag.
Example usage: ./scripts/install.sh -l -b
git config --global user.name "Your Name"
git config --global user.email "Your Email"
git config --global core.excludesfile ~/.gitignore_global
git config --global init.defaultBranch main
git config --global pull.rebase true
git config --global push.autoSetupRemote trueAdd the following to ~/.gitconfig:
[diff]
tool = nvimdiff
[difftool]
prompt = false
[difftool "nvimdiff"]
cmd = "nvim -d \"$LOCAL\" \"$REMOTE\""
[merge]
tool = nvimdiff
[mergetool]
prompt = true
[mergetool "nvimdiff"]
cmd = "nvim -d \"$LOCAL\" \"$REMOTE\" \"$MERGED\" -c 'wincmd w' -c 'wincmd J'"This file is sourced by .zshrc and should contain secrets (API keys, tokens) and machine-specific configuration that should not be shared publicly.
nvim ~/.local_zshrc.shOther tools to install via the Brewfile using brew bundle:
brew bundle install --file ~/.dotfiles/Brewfileand some need to be installed via npm:
npm install -g eslint_dOther environments to setup:
node & npm, go, rust, and python.
7. lazygit setup within nvim using lazygit.nvim might require neovim-remote
Setting up nvr might require assigning environment variable NVIM_LISTEN_ADDRESS.
Value could be localhost:6789 as it is the default value that nvr tries to connect to.
MIT - see LICENSE file