Skip to content

Modal text editor project for the CentraleSupélec Programming Course in group with @GerfautGE

License

Notifications You must be signed in to change notification settings

florentinl/giga

Repository files navigation

GIGA

A simple modal based text editor written in Rust. It has no ambition at all, it is merely a project to learn Rust and how to build a text editor.

User Interface

Giga

Installation

make sure you have cargo installed on your machine.

clone the repository:

git clone https://github.com/florentinl/giga.git && cd giga

install the binary:

cargo install --path .

Editor

To start editing a file just write in your terminal:

giga file.rs

You can also create a file and editing it:

giga my_new_file.rs

If you enter

giga

It will create a new file called NewFile, duh.

Mode

Giga is a modal based test editor. You have three modes:

  • NORMAL
  • INSERT
  • RENAME

To toggle modes:

  • in NORMAL -> i -> INSERT
  • in NORMAL -> R -> RENAME
  • in INSERT -> Esc-> NORMAL
  • in RENAME -> Enter -> NORMAL

TODO

A never ending list of things, but who cares, it's just a project to learn Rust.

About

Modal text editor project for the CentraleSupélec Programming Course in group with @GerfautGE

Resources

License

Stars

Watchers

Forks

Languages