Skip to content

Latest commit

 

History

History
49 lines (28 loc) · 1.01 KB

README.md

File metadata and controls

49 lines (28 loc) · 1.01 KB

Hammare 🔨⚡️ - a blazing fast text editor written in Rust

Hammare (hammer in swedish) is a simple text editor inspired by vim. It lets you perform simple text edition operations directly in the terminal.

screen-gif

How to install it

You are going to need to install Rust and Cargo in your computer.

You can use rustup to install the toolchain.

How to use it

Clone this project and go to the directory:

git clone https://github.com/LuisCardosoOliveira/hammare.git
cd hammare

Then, you can build it and run it using cargo:

cargo build --release
cargo run

It should prompt you with an empty file that you can edit and save.

To edit an existing file, you need to pass the file name as an argument, for example:

cargo run file.rs

Supported commands

For the moment, hammare only supports a few commands, but I'm working everyday to improve it:

  • Ctrl + S -> Save your changes/file
  • Ctrl + T -> Exit the editor