3 ms·
Here's a Vim alias I used when I first started writing, to automatically start me off on an empty page so I didn't have to read my stupid words from last time (
by akkartik 7y ago
Here's a Vim alias I used when I first started writing, to automatically start me off on an empty page so I didn't have to read my stupid words from last time (or trigger associations that drove out what I wanted to write this time).
alias j='vim -c 'normal G' -c 'r !date' -c 'normal zto' -c startinsert journal.txt'
- jvanderbot 7y agoI link this all the time, but my system is almost the same! https://github.com/jodavaho/bashlog https://github.com/jodavaho/bashlog One command `log`, keeps files with YYYY-MM-DD.md and helps sync to github. I often edit my day's words, but don't much go back. When I do want to go back, I can just use `log 3/4/19` or `log yesterday`