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.
xcode-select --installgit 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 core.excludesfile ~/.gitignore_global
git config --global user.name "Your Name"
git config --global user.email "Your Email"
git config --global init.defaultBranch main
git config --global pull.rebase true
git config --global push.autoSetupRemote trueTo add nvim as difftool and mergetool add:
[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'"to the .gitconfig file
nvim ~/.local_zshrc.shOther tools to install, also can be found in Brewfile:
zsh, omz, zoxide, fzf, ripgrep, bat, tmux, lazygit, btop, superfile, unzip, fd, tldr, tree
and more:
shfmt, luarocks, eslint_d
Other environments to setup:
node & npm, go, rust, and from whatever you can find it python.
7. lazygit setup within nvim using lazygit.nvim might require neovim-remote
Setting up nvr might require assigning evironment variable NVIM_LISTEN_ADDRESS.
Value could be localhost:6789 as it is the default value that nvr tries to connect to.
- Nick Nisi's dotfiles
MIT - see LICENSE file