2024-08-29 16:53:08 +00:00
|
|
|
nnote: nora's notes
|
|
|
|
----
|
|
|
|
|
2024-08-29 19:24:17 +00:00
|
|
|
provides a script, nnote, to quickly make notes in a simple hierarchy
|
|
|
|
provides four quick aliases: dnote, mnote, ynote, gnote
|
2024-08-29 16:53:08 +00:00
|
|
|
|
|
|
|
installation
|
|
|
|
----
|
2024-08-29 19:24:17 +00:00
|
|
|
optionally, set $NOTESDIR.
|
|
|
|
if you don't do this, nnote will use ~/Notes
|
2024-08-29 16:53:08 +00:00
|
|
|
|
2024-08-29 19:24:17 +00:00
|
|
|
then, install the scripts
|
|
|
|
option 1: clone this repo to ~$NOTESDIR/bin
|
|
|
|
then symlink dnote, mnote, ynote, gnote to your PATH like
|
|
|
|
|
|
|
|
$ ln -s "$NOTESDIR/bin/dnote" "$HOME/.bin/dnote"
|
|
|
|
|
|
|
|
option 2: clone this repo (wherever you like) and either
|
|
|
|
a) add that directory to your PATH, or
|
|
|
|
b) copy or symlink these scripts into your PATH
|
2024-08-29 16:53:08 +00:00
|
|
|
|
|
|
|
usage
|
|
|
|
----
|
|
|
|
|
2024-08-29 19:24:17 +00:00
|
|
|
when you call nnote, you give it a note type (daily/monthly/yearly/global)
|
|
|
|
and, optionally, a note name, which can include spaces with or without quoting.
|
|
|
|
|
|
|
|
nnote will:
|
|
|
|
- create the appropriate note directory,
|
|
|
|
- make the note if it doesn't exist,
|
|
|
|
- cd into $NOTESDIR so your CtrlP.vim or whatever will work,
|
|
|
|
- and then open the note in $EDITOR
|
|
|
|
|
|
|
|
when the editor closes it'll cd back to where you were.
|
|
|
|
|
|
|
|
aliases are provided:
|
|
|
|
- dnote for daily notes
|
|
|
|
- mnote for monthly
|
|
|
|
- ynote for yearly
|
|
|
|
- gnote for global
|
|
|
|
|
2024-08-29 16:53:08 +00:00
|
|
|
you can enter different names but by default those are the note names too
|
|
|
|
the file hierarchy is very simple, for instance:
|
|
|
|
- $NOTESDIR
|
|
|
|
- bin/
|
|
|
|
- [scripts]
|
|
|
|
- [global notes]
|
|
|
|
- 2024/
|
|
|
|
- [yearly notes]
|
|
|
|
- 08/
|
|
|
|
- [monthly notes]
|
|
|
|
- 28/
|
|
|
|
- [daily notes]
|
|
|
|
|