Hrtor HEAD Manual

by @haruki7049

Welcome to Hrtor HEAD!!

Hrtor is a text-editor which has a concepts, such as "A scalable line editor".

Hrtor's logo by @LegitYew0108

Repository

See github.com/haruki7049/hrtor

Concepts

  1. Hrtor is a text-editor of the you, by the you, for the you.
  2. Do all things about Hrtor text-editor.
  3. All things in Hrtor text-editor MUST be extensible.

How to install Hrtor HEAD

Hrtor HEAD can be used by:

  1. with Nix package manager
  2. with Rust-lang's Cargo

Just use Nix package manager such as:

nix run github:haruki7049/hrtor#hrtor
# OR
nix run github:haruki7049/hrtor#hrtor -- your_file.txt

Or run with Cargo as:

cargo install --git https://github.com/haruki7049/hrtor

Hrtor HEAD Usage

Default Hrtor has five commands.

add

Adds your text. This command uses stdin. Use dot keyword to exit add command.

hrtor:> add
foofoo
bar
.
hrtor:>

delete_all

Deletes your context in buffer.

exit

Quit Hrtor.

print

Displays all your context in buffer.

write

Save your context in buffer to your file.

How to modify Hrtor

  1. Clone or generate Hrtor repository for your Hrtor.
  2. Edit!!
  3. Install with: cargo install --git https://github.com/{username}/{reponame}
  4. Or Use with Nix: nix run github:{username}/{reponame}#hrtor

File structure of Hrtor HEAD

  • /cli
  • /constants
  • /file_loader
  • /manual
  • /processor