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 :)

I just started using vifm, and so far I'm really loving it, thank you so much for all your work and effort. I'm really sorry if this question was already asked, it might be I couldn't formulate question the right way, so I wasn't able to find the answer. As title says, I wonder if there is any way to find out which layout is currently used - only one pane or split panes, and in which mode (sp or vs). I would like to implement some functionalities for personal convenience, and the result would be based on this condition :)

1 Answer

0 votes
Best answer


You're looking for layoutis() function.


That's exaclty what I was looking for, thanks a lot! :)