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:
parent
f9791ff888
commit
eb03e6ef9d
3 changed files with 15 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue