I am trying to use ':select !{external command}' . If I run :select !{fd --type f} it selects all files and folders. What is the correct way of using it?
:select !{fd --type f}
Thank you
Don't add { and }, they are just to name part of the string to reference in the description.
{
}
Thank you, yes that solved it.
Can this approach be used for :delete? It doesn't seem to be in the manual, but I was wondering if I can work around it?
:delete
:delete !fd --type d<cr>
You can do :select! !fd --type d and then :delete.
:select! !fd --type d