For ages I have been making daily notes at work using a simple alias to open
vim
with a file named after the day's date. After talking with friends and ex
colleagues about what people used for this purpose I decided to switch to a
single file per week named after the date on Monday. I wrote a short script to
launch vim
with a filename based on the date of the last Monday, or today if
today is Monday. The script also allows opening a previous or future journal
file using an argument. journal 1
opens next weeks file. journal -2
opens
the journal file from two weeks ago.
Someone reminded me of Vim Outliner which I used to use and stopped
for some reason. Decided to install it again and was puzzled when it
wouldn't work correctly. Turned out I was missing filetype plugin on
in
my .vimrc
. A couple of settings it's nice to have on are:
syntax on
set backspace=indent,eol,start
filetype plugin indent on