#text #editor #terminal #termion

app smith

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

21 releases (7 stable)

✓ Uses Rust 2018 edition

1.3.0 Feb 14, 2020
1.2.2 Jan 6, 2019
1.2.1 Dec 3, 2018
1.1.1 Nov 21, 2018
0.3.8 Nov 2, 2016

#3 in Text editors

Download history 4/week @ 2019-12-16 21/week @ 2019-12-23 2/week @ 2019-12-30 3/week @ 2020-01-06 22/week @ 2020-01-13 85/week @ 2020-01-20 2/week @ 2020-01-27 7/week @ 2020-02-03 37/week @ 2020-02-10 38/week @ 2020-02-17 70/week @ 2020-02-24 6/week @ 2020-03-02 46/week @ 2020-03-09 64/week @ 2020-03-16 67/week @ 2020-03-23 5/week @ 2020-03-30

148 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
~101K SLoC