I want to know where the : command history is stored for a particular vim session. I know we can scroll and search through the history. My objective is to take a portion of the commands that I executed using trial and error and create a vim source file.
Share
it is stored at $HOME/.viminfo
From the vim help command: