Nishan Jain
Nishan Jain

Reputation: 91

How to display only one pane in vifm instead of two?

In vifm, two panes are displayed by default. How do I change it so that it displays only one pane?.I went through the manual to find the vifmrc setting which will allow me to see single pane. I could not find the setting

Upvotes: 9

Views: 5173

Answers (1)

xaizek
xaizek

Reputation: 5252

With sample vifmrc file which should've been installed, you get tui value set in the 'vifminfo' option, which is responsible for saving number of windows between sessions among other things. So if you do Ctrl+WO and then exit, next time you run vifm it should be in single pane mode.

However, if you want to ensure that it always starts with only one pane, just put this line

only

somewhere in your vifmrc. vifmrc consists of the same commands you can run on command-line, so things like :split, :vsplit, etc. also work (not all commands make sense though), you're not limited to :set for settings.

Upvotes: 10

Related Questions