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 --install
git clone [email protected]:radlinskii/dotfiles.git
./scripts/install.sh
To only run parts of install.sh
responsible for specific configurations pass flags to it:
- for linking config files run it with flag
-l
or--link
. - to only configure
MacOS
specific settings run it with flag-m
or--mac
. - to only install
Homebrew
packages run it with flag-b
or--brew
. - to install
oh-my-zsh
use-o
or--omz
flag.
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 true
To 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.sh
Other 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