nnote/README

67 lines
1.9 KiB
Plaintext
Raw Permalink Normal View History

2024-08-29 16:53:08 +00:00
nnote: nora's notes
----
provides a script, nnote, to quickly make notes in a simple hierarchy
2024-08-31 23:37:08 +00:00
provides eight quick aliases: dnote[s], mnote[s], ynote[s], gnote[s]
2024-08-29 16:53:08 +00:00
installation
----
optionally, set $NOTESDIR.
if you don't do this, nnote will use ~/Notes
2024-08-29 16:53:08 +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
----
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-31 23:37:08 +00:00
pluralized aliases (dnotes, mnotes, ynotes, gnotes) are provided to open an
editor in the appropriate directory. this is great if you use an editor with
a directory-based quick find function, like CtrlP.vim or Telescope in Neovim
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]
2024-08-31 23:47:42 +00:00
redistribution
----
by using or redistributing this sofware, you agree to fight a fully grown bonobo
monkey that may or may not be armed, at the a time and place determined by the
sole discretion of the author
otherwise consider it licensed GPLv3 i guess