mirror of
https://github.com/prurigro/vnotes.git
synced 2024-11-21 17:02:31 -05:00
Manage your notes with flat files and your system text editor
bd83c4081d
* Declare global variables globally * Group functions related to note searching together * Add colour to the "Can't find" error * Add more comments to explain what different blocks of code are doing |
||
---|---|---|
LICENSE | ||
readme.md | ||
vnotes |
vnotes
Manage your notes with flat files and your system text editor
Dependencies
Configuration
Configuration is handled using environment variables:
EDITOR
: The text editor that should be used to open notes (default:/usr/bin/vim
)VNOTES_FOLDER
: The folder notes should be managed in (default:$HOME/Notes
)VNOTES_EXTENSION
: The file extension notes should have (default:md
)
Usage
vnotes [PATTERN]
: If multiple notes include[PATTERN]
a list of matching notes is presented to choose from, otherwise it opens the closest matching notevnotes -c|--create [NAME]
: Creates a new note named[NAME]
vnotes -d|--delete [NAME]
: Deletes the note named[NAME]
vnotes -h|--help
: Shows the help text