dotfiles/modules/common/shell/fish/functions/recent.fish
2023-02-20 20:37:37 -05: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