a simple text file with timestamp vim +'r!date' ~/did.txt a simple text file with timestamp and automatic insert mode at the end of the file vim +'normal Go' +'r!date' ~/did.txt Finally! Create alias alias did="vim +'normal Go' +'r!date' ~/did.txt"