Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I set the viewcolumn option in my vifmrc file, but when I pull up vifm only the left pane uses the option setting from my vifmrc file. I have not been able to find out how to get it to apply to both (or all) window panes from the vifmrc. I am trying to avoid setting it manually in the right pane and then using the set vifminfo+=tui option (which I haven't tried so I don't even know if that would work). How do I get the viewcolumn option from my vifmrc file to automatically apply to both window panes? Thanks

share|improve this question
up vote 0 down vote accepted

Just prepend windo to your set command in your vifmrc file, like this;

windo set viewcolumns=-{name}..,6{size},11{perms}

viewcolumns option is local to window, that's why one needs to use windo prefix to apply the setting to both windows.

An example of setting viewcolumns for both panes should probably be added to the documentation.

P.S. This is necessary for versions up to 0.8, in future versions set and filter commands in vifmrc act on both windows by default.

share|improve this answer
    
Thanks @xaizek, this works perfectly! I guess I expected an email to let me know that someone had answered my question and didn't realize it had been answered until now. – Shawn Nov 20 '15 at 16:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .