feat: add yazi as new file manager and move neovim to system packages

This commit is contained in:
Alexandre Cavalheiro S. Tiago da Silva 2024-02-06 21:31:07 -03:00
parent 247d0a89bd
commit 0a369a745b
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF
7 changed files with 279 additions and 7 deletions

View file

@ -46,6 +46,15 @@
trash_file.body = ''
mv $argv ~/.local/share/Trash
'';
ya.body = ''
set tmp (mktemp -t "yazi-cwd.XXXXX")
yazi $argv --cwd-file="$tmp"
if set cwd (cat -- "$tmp"); and [ -n "$cwd" ]; and [ "$cwd" != "$PWD" ]
cd -- "$cwd"
end
rm -f -- "$tmp"
'';
};
};
}