Github repo is just a mirror for discoverability.
- Primary git repo: https://git.sr.ht/~dpc/breeze
- Primarily issue tracker: https://todo.sr.ht/~dpc/breeze
breeze - An experimental, kakoune-inspired CLI-centric text/code editor with |-shaped cursor (in Rust)
Features & Goals
- Modal & CLI-centric, but in a modern edition
- Kakoune-inspired editing experience
- Core library should compile to WebAssembly, so it can run everwhere, especially in the browser
- WebAssembly plugin support
- Sandboxed, so they can't steal your Bitcoins!
I have recently switched to kakoune after years (decades?) of using Vim. I think changing action, movement into movement, action is a brilliant idea. I enjoy simplicity of Kakoune and I am generally quite happy using it.
However I have couple of ideas how Kakoune could be better and/or disagree with a couple of things in it.
So I decided to hack together my own code editor to demonstrate / try them.
What is distinct about Breeze
Rust. Life is too short not to use Rust.
Terminals can do
|-shaped cursors now, people! We don't have to use the blocky
cursor anymore! In Breeze
| is the only cursor shape. Whole design assumes
cursor. It feels more like a graphical text editor,
than traditional CLI ones. A fresh breeze in CLI terminal world.
Kakoune seem very Vim-golf-centric. In Breeze the philosophy is slightly different. It doesn't matter to me in how many keystrokes one can perform certain editing operation. What matter to me most is predictable, natural, easy to use modal text edition. Muscle memory and rapid keypressing without having to pay much attention is what I am aiming for first.
Status and plans
Some stuff works, but still very, very early. And considering how little time I have, it will probably stay this way for a long while. I might hack on it continously in the future, or I might loose the motivation. I am happy to accept collaborators and help.
If you don't have Rust installed go to https://rustup.rs
cargo run --release -- [file_path]
to run from source code, or
cargo install -f
How to use (what works)
Breeze is modal. You are typically in the normal mode, enter insert mode with
i, and leave it with
You know... just like in Vim or Kakoune.
Breeze has selections. Kind of like in Visual mode in Vim, just more automatic. If you've used Kakoune - they are very much like in Kakoune.
In normal mode:
Shift + key typically extends the selection, instead of changing it.
Other actions that should work already:
- basic moves:
- numerical prefix for most of implemented stuff
- basic insert mode:
'- switch selection direction
- line selection: