Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

vifm

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

like image 990
Nishan Jain Avatar asked Oct 17 '16 18:10

Nishan Jain


People also ask

How do I move files with VIFM?

By default vifm start in two splited panels which each of them is representing a directory. for moving up, down, parent directory, opening directory of file. use tab or space to switch between the panels. to copy a file press “yy” then to past it in your preferred location press “p”.


1 Answers

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.

like image 67
xaizek Avatar answered Sep 19 '22 16:09

xaizek