Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.1 KB

README.md

File metadata and controls

43 lines (30 loc) · 1.1 KB

Loop (a text editor)

A (simple) text editor than runs in your terminal, built in Rust. This was made using the super awesome tutorial written by @pflenker on his website here.

asciicast

(Click play to see basic usage)

Current features

  • Open file
  • Edit file
  • Save file to disk
  • Search for words in file (forwards and backwards)
  • Warn when quitting editor without saving file.

Planned features

  • Syntax highlighting (WIP)
  • Tab support
  • User defined config file
  • Open folder
  • Directory tree

Building from source

You need to have Rust installed on your system. You can do so from the official link.

To build it, run

$ cargo build

or run it directly using

$ cargo run <path/to/file>

where <path/to/file> is the path to the file you want to edit. You can leave it blank if you want to create and edit a new file (filename will be asked on save).