repositories / dotfiles
dotfiles
bugabingas dorkfiles
owned by bugabinga
neovim/justfile
Rawset shell := ['nu', '--commands']
# List available recipes.
default:
@just --list
# Reproduce some neovim issue
repro:
nvim -u repro.lua
puk:
nu puk.nu
puke:
nu puk.nu update
mv puk.plugins.updated.nuon puk.plugins.nuon
# delete all current neovim state, cache and other ephemeral data. does NOT delete the configs
nuke:
rm --interactive --recursive --force (nvim "--headless" "--clean" +'lua print(vim.fn.stdpath[[data]])' +q | complete | get stderr)
rm --interactive --recursive --force (nvim "--headless" "--clean" +'lua print(vim.fn.stdpath[[cache]])' +q | complete | get stderr)
rm --interactive --recursive --force (nvim "--headless" "--clean" +'lua print(vim.fn.stdpath[[state]])' +q | complete | get stderr)