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 |
#226 in Text editors
155KB
1.5K
SLoC
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:
Dependencies
~7–15MB
~191K SLoC