« Back to Index

[Simple Vim TODO list]

View original Gist on GitHub

Tags: #vim #gtd #todo

Simple Vim TODO list.bash

alias did="vim +'normal Go' +'r!date' ~/did.txt"

# executing `did` in a shell will open the file `~/did.txt` in vim,
# while prefixing the current line with a date/time.
#
# Example...
#
# Tue Jul 31 17:31:35 BST 2018
# - i manually typed this line
# - and this one
# - i use it to demonstrate multiple things I did
#
# Wed Aug  1 11:30:00 BST 2018
# I did only one thing today