Open drewauff opened 3 years ago
I hit the same problem, but I found a workaround by using a bash wrapper:
bash -l -c 'rg --files | fzf'
@xxuejie unfortunately this doesn't "solve" the problem. fasd with the above switches show only the 25 most recent files, which is what Im after.
A little update, I put the command in a little script, I getting this error, exec: not started
onwards and upwards.
I am trying to mod. this script (see at bottom)
to use this command
fasd -flt | tail -n 25 | grep -Ev '\.(tiff|jpg|jpeg|png|gif|pxm|mp3|mp4|aac)$' | fzf --tac
Instead of just straight
fzf
I use fasd to list recently opened files/documents/code etc (media is excluded) via fzf and open them in micro.
I want to access this while in micro.
The commands in this script are will be the same except prefixed by an 'r'. so rfv = recent file / split vertical.
I hope this make sense.
I have tried changing the command in line 9, but a error flashes up and its far to quick to read.
Getting this to work would make it, in my eyes, the perfect (user friendly) cli editor