Search code examples
vifm

How can I start vifm with horizontal splitting


Is it possible to start vifm with horizontal splitting? I launch tmux with several panes. I want to have vifm in one of them, but it doesn't look nice in vertical split mode and I always have to change split mode manually.


Solution

  • Just put :split command to your ~/.vifm/vifmrc file.

    Command description:

    :sp[lit] - switch to a two window horizontal view.

    You can do the same with pretty much any other command-line command. Say, since we're talking about layout here, it could be :vsplit or :only.