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.

Starting vifm from terminal multiplexer (tmux) doesnt automatically enable screen mode

0 votes
asked Nov 29, 2016 in vifm by logol

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
answered Nov 29, 2016 by xaizek
selected Nov 29, 2016 by logol
 
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.

commented Nov 29, 2016 by logol

that works :)

thank you for clarifying

When asking, English language is preferred, but Russian, Ukrainian and maybe German can be used as well (in the last case answers might be in bad German).

If you would like to make a bug report or feature request consider using GitHub, SourceForge or e-mail. Posting such things here won't be considered as a spam, but this is not a perfect place for it.
...