noozoid/README.md

79 lines
1.9 KiB
Markdown
Raw Permalink Normal View History

2021-01-03 06:30:50 +00:00
# <img src="doc/noozoid.svg" width="50%" style="display: block; margin: 0 auto;" alt="Noozoid" />
2019-12-29 11:59:14 +00:00
2021-01-03 05:51:42 +00:00
![Build](https://github.com/glenux/draft-noozoid/workflows/build/badge.svg?branch=master)
2021-01-02 21:52:36 +00:00
[![GitHub license](https://img.shields.io/github/license/glenux/draft-noozoid.svg)](https://github.com/glenux/draft-noozoid/blob/master/LICENSE.txt)
[![Donate on patreon](https://img.shields.io/badge/patreon-donate-orange.svg)](https://patreon.com/glenux)
2019-12-29 11:59:14 +00:00
A terminal-based mindmap editor for geeks.
The name of the project comes from the Greek words _νους_ (mind) and ούδι_ (small animal).
2021-01-02 21:39:13 +00:00
For now, It is a toy project to improve author's skills with the language and its various libraries. **It is very early stage and is not supposed to work (yet). Please don't use it in production.** :warning:
2019-12-29 11:59:14 +00:00
## Installation
2021-01-02 21:39:13 +00:00
Make sure you have the latest version of crystal (0.35.x)
Build the project
2019-12-29 11:59:14 +00:00
2021-01-02 21:39:13 +00:00
$ make build
2019-12-29 11:59:14 +00:00
## Usage
2019-12-29 21:48:11 +00:00
### Running noozoid
In your terminal:
2021-01-03 06:53:59 +00:00
$ bin/noozoid
2019-12-29 21:48:11 +00:00
2021-01-02 21:54:42 +00:00
### Keyboard control (vim-like)
2019-12-29 21:48:11 +00:00
2021-01-02 22:01:08 +00:00
#### NORMAL mode
2019-12-29 21:48:11 +00:00
| Key | Description |
|---|--|
| h | Navigate to parent |
| l | Navigate to child |
| k | Navigate to previous sibling |
| j | Navigate to next sibling |
| r | Navigate to tree root |
| c | Create node |
2021-01-02 22:01:08 +00:00
| i | Enter EDIT mode for current node |
2021-01-02 21:55:57 +00:00
| d | Delete/Cut selected node |
| p | Paste node as a child of selected node |
2019-12-29 21:48:11 +00:00
| v | Toggle node |
| ? | Show this help |
2021-01-02 22:01:08 +00:00
| : | Enter COMMAND mode |
### COMMAND mode
| Command| Description |
|---|--|
| w | Write file |
| e | Load file |
2019-12-29 21:48:11 +00:00
| q | Exit program |
2021-01-02 22:01:08 +00:00
| ESC | Go to normal mode |
2019-12-29 11:59:14 +00:00
2021-01-02 22:01:08 +00:00
### EDIT mode
| Command| Description |
|---|--|
| ESC | Go to normal mode |
Any other key will be written as the content selected node.
2019-12-29 11:59:14 +00:00
## Contributing
2021-01-02 21:52:36 +00:00
Bug reports and pull requests are welcome on GitHub at <https://github.com/glenux/draft-noozoid>.
2021-01-02 22:01:08 +00:00
2021-01-02 21:52:36 +00:00
## License
Noozoid is Copyright © 2021 Glenn ROLLAND. It is free software, and may be redistributed under the terms specified in the LICENSE.txt file.
2019-12-29 11:59:14 +00:00