Welcome to Vifm Q&A, where you can ask questions about Vifm usage. Registration is optional, anonymous posts are moderated. GitHub or Google logins are enabled.

Vifm is locked after running executable file on Windows.

0 votes
asked Apr 20 in vifm by r0ck

Vifm is locked after running executable file on Windows (I can't change directories in both panes). I couldn't find solution for this problem. Can you help me?

commented Apr 20 by xaizek

If I understand correctly, you launch vifm and then pick executable file in it and press Enter or l? The result is that vifm window stops responding to keys at all or it just starts to behave differently? Does everything become normal after you close that application?

commented Apr 20 by xaizek
edited Apr 20 by xaizek

I tried to reproduce the issue and saw the bug, thanks for reporting it. At the moment you can run executables using :!%c%i&. It's easier to bind it to a key (r for "run"):
nnoremap ,r :!%c%i&<cr>

I'll fix the bug and there will be an updated binary of development version, I'll post link here in case you'll want to use it (it has new features as well and thus is somewhat less tested).

1 Answer

0 votes
answered Apr 20 by xaizek

As is stated in the comments, this is a bug. Detection of graphical applications was broken since 0.9 by a seemingly unrelated change.

It's already fixed on master, Windows executables with this change and all other changes since 0.9.1 release are available here:

commented Apr 23 by r0ck

Thank you. It's OK now.

If you would like to make a bug report or feature request consider using GitHub, SourceForge or e-mail. Posting such things here is acceptable, but this is not a perfect place for them.
...