I'd like vifm to remember the last directory I was in when I quit with Q, but not with q.
vifm
Q
q
The following snippet added to vifmrc should produce desired behaviour:
vifmrc
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.