dotfiles/modules/shell/fish/functions/recent.fish
2022-07-05 21:05:24 -04:00

5 lines
188 B
Fish

set vimfile (fd -t f --exec /usr/bin/stat -f "%m%t%N" | sort -nr | cut -f2 | fzf)
and set vimfile (echo $vimfile | tr -d '\r')
and commandline -r "vim $vimfile"
and commandline -f execute