nix-configs

Personal NixOS and home-manager configuration files
Log | Files | Refs

commit e017efd193b6c163354b35f17ca71d639925f430
parent 1bee16c27c6400983abc4f4cccac42f7322782ef
Author: breadcat <breadcat@users.noreply.github.com>
Date:   Thu,  2 Jul 2026 17:34:30 +0100

Add fzf note edit function

Diffstat:
Mhome/fish.nix | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/home/fish.nix b/home/fish.nix @@ -12,6 +12,7 @@ mcd = "mkdir -p $argv[1] && cd $argv[1]"; mergeinto = "rsync --progress --remove-source-files -av \"$argv[1]\" \"$argv[2]\" && find \"$argv[1]\" -empty -delete"; ncdu = ''set arg (count $argv); if test $arg -eq 0; set argv .; end; "${pkgs.rclone}/bin/rclone" ncdu $argv''; + notes = ''set file (find "$SYNCDIR/notes" -name ".git" -prune -o -type f | fzf --preview 'cat {}' --preview-window='right:60%:wrap'); and nvim "$file"''; vat = "math $argv + \"($argv * 0.2)\""; }; shellInit = ''