Difference between revisions of "FAQ"

From Vifm Wiki
Jump to navigation Jump to search
(Initial version of FAQ)
 
m (Dashes => hyphens)
Line 24: Line 24:
  
 
Explanation:
 
Explanation:
* <code>windo</code> - execute prefixed command for each pane.
+
* <code>windo</code> execute prefixed command for each pane.
* <code>normal</code> - execute normal mode command.
+
* <code>normal</code> execute normal mode command.
* <code>zo</code> - normal mode command to how hidden files.
+
* <code>zo</code> normal mode command to how hidden files.

Revision as of 12:11, 20 July 2014

How to set sorting/columns in both panes from vifmrc?

Add windo prefix to command you want to be executed for both panes.

" separated
windo set sort=...
windo set viewcolumns=...

" or both at the same time
windo set sort=... viewcolumns=...

windo can be applied to any command-line command, not just set.

How to show hidden files be default on startup?

Put this into vifmrc file:

windo normal zo

Explanation:

  • windo — execute prefixed command for each pane.
  • normal — execute normal mode command.
  • zo — normal mode command to how hidden files.