Clone the repo:
git clone https://github.com/Jacobus-afk/dotfiles.gitStow
sudo apt install stowFor example nvim
stow -S nvimAutomatically applying python env files is a bit of a headache.
There are some nvim plugins that attempt to attach a
venv(swenv.nvim is one) but they're not fully realised.
The cleanest solution I could find is to use direnv
-
Ubuntu
sudo apt install direnv
-
Add the following to the end of .zshrc
eval "$(direnv hook zsh)"
To allow direnv to automatically enable the virtual environtment,
add a .envrc file to your project that contains the following:
source <VENV_NAME>/bin/activate
unset PS1Follow the delta installation instructions. For Ubuntu, use the latest .deb package on the releases page.
wget https://github.com/dandavison/delta/releases/download/0.17.0/git-delta-musl_0.17.0_amd64.deb
sudo dpkg -i git-delta-musl_0.17.0_amd64.debEdit ~/.gitconfig and add the following
[core]
pager = delta
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true # use n and N to move between diff sections
line-numbers = true
# delta detects terminal colors automatically; set one of these to disable auto-detection
# dark = true
# light = true
[merge]
conflictstyle = diff3
[diff]
colorMoved = defaultSemshi provides semantic highlighting for
python in neovim. It results in things like functions not having the same
default highlighting as variables. One caveat, though is that it