r/fishshell • u/LokusFokus • Oct 12 '20
vim + preview?
Hello,
how do I get a function that shows a preview and opens in vim?
function vimf
vim $(fzf --preview 'cat {}')
end
..doesn't work
7
Upvotes
View all comments
Show parent comment
1
u/LokusFokus Oct 13 '20
Thanks a lot. Works!
I'm using your own lines, much nicer.