• Stars
    star
    168
  • Rank 225,507 (Top 5 %)
  • Language
    Rust
  • License
    MIT License
  • Created over 8 years ago
  • Updated almost 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A simple text editor written in Rust

Smith

Crate status Build status

Smith is a simple terminal-based text editor written in Rust.

Install

Using Cargo:

cargo install smith

To compile Smith with clipboard support on Ubuntu, you may need to install some libraries:

sudo apt-get install -qq xorg-dev libxcb-render-util0-dev libxcb-shape0-dev libxcb-xfixes0-dev

Features

  • line numbers
  • syntax highlighting
  • undo/redo
  • standard keybindings (Ctrl-S, Ctrl-Z, Ctrl-C, Esc...)
  • mouse support
  • clipboard support

With more planned such as user configurations, search & replace, persistent undo, etc.

Here's what it looks like editing its own source code:

Smith in action