Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Mine; the filename is today's date:

alias notes='nvim echo ~/notes/notes-$(date +'%Y%m%d').md'

The format being markdown gives a good syntax clue to vim.




I'm similar, but with vimwiki. <leader>-w-<leader>-w will open an entry for today's date, so for me ~/vimwiki/diary/2020-02-08.md. `<leader>-w i` will show a list of all entries. Pretty convenient stuff. I have mine start with a template as well, with a few common headers.


I do this too but this article makes me think that it may be better if everything u was one file folding avoids visual clutter anyway




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: