Skip to content

Instantly share code, notes, and snippets.

@MilesDowe
Created July 16, 2018 15:27
Show Gist options
  • Save MilesDowe/79a5202e8b4a674bc8035ddbff81cfcb to your computer and use it in GitHub Desktop.
Save MilesDowe/79a5202e8b4a674bc8035ddbff81cfcb to your computer and use it in GitHub Desktop.
A simple way of opening a file for daily tracking of tasks. Personally helpful to me to know how to invoke Vim commands upon start up.
# Taken from https://theptrk.com/2018/07/11/did-txt-file/
vim +'normal Go' +'r!date' +'normal o' ~/Desktop/did.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment