Welcome to Vifm Q&A, where you can ask questions about Vifm usage. Registration is optional, anonymous posts are moderated. GitHub or Google logins are enabled.

Open in current directory (pwd) by default?

+1 vote
asked Sep 30, 2015 in vifm by anonymous

Is there a reason why vifm, when spawned from a directory, open the last active directory instead of the current one? How can I change this behavior?

1 Answer

+1 vote
answered Sep 30, 2015 by xaizek

Without any settings it opens in current directory, but sample vifmrc sets 'vifminfo' option to include savedirs option. Not changing 'vifminfo' you can open in current directory with

vifm . .

If you want to open in PWD by default, then alter 'vifminfo' value in vifmrc' to not include savedirs.

commented Sep 30, 2015 by anonymous

Thanks. Note to others: You can get one pane to display the current directory, and the other paneto display the last saved directory by typing only one dot (.):

vifm .
If you would like to make a bug report or feature request consider using GitHub, SourceForge or e-mail. Posting such things here is acceptable, but this is not a perfect place for them.