dotfiles/modules/shell/fish/functions/recent.fish
2022-05-06 09:44:21 -04:00

5 lines
179 B
Fish

set vimfile (fd -t f --exec 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