dotfiles/fish/.config/fish/functions/vds.fish

4 lines
227 B
Fish
Raw Normal View History

function vds --wraps='nvim (git diff --staged --name-only --diff-filter=ACMR)' --description 'Edit all staged files that have changes since the last commit'
nvim (git diff --staged --name-only --diff-filter=ACMR) $argv;
end