i have tried to insert
set confirm+=delete,permdelete
into vifmrc, but it still deletes without confirmation if i press F8
Looks like a bug, thanks. You can remap F8 in terms of ds:
ds
nnoremap <f8> ds
It should have the same effect, but with the prompt.
UPDATE: will be fixed in the next version (after 0.9.1).