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.
0 votes
in vifm by


when starting vifm from terminal multiplexer (tmux) it doesn't automatically enable screen mode. I always need to enable it manually with


I'm running vifm at Arch Linux 4.8.10-1 (x86_64) using the terminal emulator st together with the fish shell. But I have the same problems when running it from gnome-terminal with bash or dash.

tmux version is 2.3-1

Is there any way to force usage of screen in the vifmrc file? Or do you have any ideas why screen is not automatically enabled?

1 Answer

+1 vote
selected by
Best answer


Whether terminal multiplexer support is active or not can be saved in vifminfo file, but for that your 'vifminfo' option should contain state value. You can add it in your vifmrc like this:

set vifminfo+=state

It will also save state of filters, so if you don't want that and 'vifminfo' does not contain state just put


directly to your vifmrc.

Note that you don't want to combine state with screen because :screen in vifmrc toggles support (related issue). Next version (after 0.8.2) will include :screen! form which always enables the support instead of toggling it, that one can be put into vifmrc without odd behaviour every other time vifm is run.


that works :)

thank you for clarifying

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.

Support Ukraine