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.
+1 vote
in vifm by

I'd like vifm to remember the last directory I was in when I quit with Q, but not with q.

1 Answer

+1 vote
by

The following snippet added to vifmrc should produce desired behaviour:

set vifminfo-=savedirs
nnoremap Q :set vifminfo+=savedirs | quit<cr>

We literally disable saving last directory by default, but enable it on pressing Q right before quitting.

...