#editor #terminal-text #text #line-editor #line-numbers #termion

app smith

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

23 releases (9 stable)

2.0.1 Feb 12, 2021
2.0.0 Jul 8, 2020
1.3.0 Feb 14, 2020
1.2.2 Jan 6, 2019
0.3.8 Nov 2, 2016

#340 in Text editors

Download history 124/week @ 2024-07-28 19/week @ 2024-09-29

66 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

~7–15MB
~191K SLoC