#text #editor #terminal #termion

app smith

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

22 releases (8 stable)

2.0.0 Jul 8, 2020
1.3.0 Feb 14, 2020
1.2.2 Jan 6, 2019
1.2.1 Dec 3, 2018
0.3.8 Nov 2, 2016

#6 in Text editors

Download history 7/week @ 2020-06-08 1/week @ 2020-06-15 3/week @ 2020-06-22 22/week @ 2020-06-29 39/week @ 2020-07-06 50/week @ 2020-07-13 6/week @ 2020-07-20 27/week @ 2020-07-27 26/week @ 2020-08-03 69/week @ 2020-08-10 31/week @ 2020-08-17 24/week @ 2020-08-24 6/week @ 2020-08-31 98/week @ 2020-09-07 4/week @ 2020-09-14 5/week @ 2020-09-21

135 downloads per month

MIT license

155KB
1.5K SLoC

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

Dependencies

~5.5MB
~104K SLoC