mirror of
https://github.com/prurigro/vnotes.git
synced 2024-12-22 18:30:22 -05:00
Manage your notes with flat files and your system text editor
bc28cfdf8f
* Restore the tty state with a reusable function * Add tty_state as a global * Declare globals (including tty_state) as empty variables |
||
---|---|---|
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