mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-26 15:25:37 +00:00
5 lines
155 B
Fish
5 lines
155 B
Fish
function recent --description "Open a recent file in Vim"
|
|
set vimfile (fd --exec stat -f "%m%t%N" | sort -nr | cut -f2 | fzf)
|
|
and vim $vimfile
|
|
end
|