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

Hi,

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

:screen

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
by
selected by
 
Best answer

Hello,

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

screen

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.

by

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.
...