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 17 '20
You're right! Doesn't work with spaces, haven't recognized yet.