Is it possible to find
:commands entered while editing a specific file, as opposed to all commands ever typed at the
: prompt? Failing that, is it possible to auto-save commands to a separate history while editing a certain file?
I've tried up-arrow and
q:. I've viewed
viminfo but at a first glance it seems to save all commands in one chunk.