To add a new note, you have two options:
- Run the command and interactively provide the title:
make add
- Provide the title directly in the command:
make add TITLE="Your Note Title"
To list all your notes grouped by prefix, use:
- Simply list all notes:
make list
- List notes using a keyword search:
make list SEARCH="keyword"
To edit an existing note, use:
make edit
You will be prompted to enter the note's name, and it will open in your default text editor.
To remove all notes, use:
make clean
You will be asked for confirmation before proceeding with the deletion.
To ensure all lines in your notes are no longer than 80 characters, use the format
command. This helps improve the readability of your notes by breaking down long lines:
make format
This command reformats each note file by wrapping lines at word boundaries, ensuring a maximum line length of 80 characters.
For more information on available commands and usage, use:
make help