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.
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.shTo install necessary tooling run ./scripts/install.sh -b to install all of the tools listed in the Brewfile.
Other 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