1
Fork 0
mirror of https://github.com/thegeneralist01/config.git synced 2026-03-09 18:30:01 +01:00

shell: add aliases

This commit is contained in:
TheGeneralist 2026-01-21 21:27:59 +01:00
parent f9791ff888
commit eb03e6ef9d
Signed by: thegeneralist01
SSH key fingerprint: SHA256:pp9qddbCNmVNoSjevdvQvM5z0DHN7LTa8qBMbcMq/R4
3 changed files with 15 additions and 1 deletions

View file

@ -341,6 +341,16 @@ def --env mcg [path: path]: nothing -> nothing {
jj git init --colocate
}
# Open a file in nvim using fzf.
def vff []: nothing -> nothing {
nvim (fzf)
}
# Open a file in nvim using fd.
def vfd [filename: string]: nothing -> nothing {
nvim (fd -t f $filename)
}
def --env "nu-complete jc" [commandline: string] {
let stor = stor open