| Crates.io | jmemo |
| lib.rs | jmemo |
| version | 0.1.2 |
| created_at | 2023-10-09 06:35:56.0392+00 |
| updated_at | 2023-10-12 07:19:06.863011+00 |
| description | A simple CUI tool for maintaining memos |
| homepage | |
| repository | https://github.com/saimizi/memo |
| max_upload_size | |
| id | 997711 |
| size | 429,735 |
jmemo (memo) is a simple CUI tool for creating and managing notes.
At present, jmemo uses w3m to display notes and vim to create/edit note.
$ memo -a

jmemo starts vim to create a new note. The first line is the title of the note and will be displayed in the note view. A tag is a word in the title and wrapped by "[]", like [jmemo]. You can create multiple tags in a title.
A html note can be created by specifying "-A" instead of "-a", you can use html tags like in the note.
$ memo -A

Note
Use "-t TAG" to specify a tag to search all notes tagged by it. The searching results are displayed by using w3m. You can use w3m to browser them.
$ memo -t <jmemo> [-WI]

Note
By default, tag can be parted matched. For example you can specify "j" to match all tags include "j". If you want to match a complete tag name, add "-W" option.
By default, tag is searched case-sensitively, You can specify "-I" to ignore cases.
A full-text search can be done by specifying keywords without options. Following example search all notes including a "example" in it.
$ memo example

You can filter the searching result by using logical operators. For example following command uses "And (*)" operator to search the result including both "example" and "memo" keywords.
$ memo 'example * memo'

Note
You can use a "-d" option together with search to select notes to delete.
$ memo 'jdemo + jmemo * note' -d

The example above will delete No1, No2 and No4 notes. If you input "y", "yes", "Y" or "Yes", all notes listed will be deleted. Other keys will ignore delete operation.