hired
xi-editor
Our great sponsors
hired | xi-editor | |
---|---|---|
6 | 42 | |
116 | 19,807 | |
- | 0.1% | |
6.0 | 2.6 | |
3 months ago | about 1 month ago | |
Rust | Rust | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
hired
- Hired: A Modern Take on 'Ed'
-
The ! command, what do you use it for?
( The ed clone I am writing: https://github.com/sidju/hired , and its backend: https://github.com/sidju/add-ed )
- Thoughts on some of the actively developed text editors written in Rust?
-
Nano vs Vim (text editor)
OR, use modern ED! https://github.com/sidju/hired Syntax highlighting, command history and replaceable backend.
-
Interface test for all structs that implement a trait
My current solution is to have it written implementation agnostic for the only implementation that currently exists. ( Seen here: https://github.com/sidju/hired/blob/bde09775eca11c3f98f88f29eb006f4dc6e057fd/src/buffer/vecbuffer.rs#L249 ) In the longer term I intend on writing a macro that essentially creates that exact test but replaces the constructor ("VecBuffer::new()") with whatever string is given to the macro. That should work well, but will have to wait a little.
xi-editor
-
Zed is now open source
Was confused until I realised I'd confused Zed, with Xi[1] which is also rust based, and which incidentally has a frontend called "Xim"..
Also there's a wiki-editor (like Tomboy[2]) called "Zim"[3].
[1] https://github.com/xi-editor/xi-editor
-
Text Editor: Data Structures
Project site linked from the GitHub[0] is https://xi-editor.io. Linked doc is a mirror of this[1], which was afaik originally written by Raph Linus.
[0]: https://github.com/xi-editor/xi-editor
[1]: https://xi-editor.io/docs/rope_science_01.html
-
The Absolute Minimum Every Software Developer Must Know About Unicode in 2023
> thing that gets deleted when you hit backspace
Is there a canonical source for this part, by the way? Xi copied the logic from Android[1] (as per the issue you linked downthread), and I vaguely remember that CLDR had something to say about this too, but I don’t know if there’s any sort of consensus here that’s actually written down anywhere.
[1] https://github.com/xi-editor/xi-editor/pull/837
- Google abandons work to move Assistant smart speakers to Fuchsia
-
What's is a rusty way to implement sharable trees?
This is pretty much how copy-on-write ropes work. Check out xi-rope, Ropey or crop, they're all built using B-trees and implement the behavior you described.
-
Helix (a Kakoune / Neovim inspired editor) 23.03
Helix is awesome, though once Lapce (spiritual successor to Xi editor) gets the Helix/Kakoune editing model, I may have to jump ship
-
Editors written in rust
Home (xi-editor.io)
-
How to share resources between instances of program?
Maybe take a look at the Xi editor (https://xi-editor.io/) (written in rust I think) that uses a client server architecture.
-
Suitable Rust GUI Library for Code Editor?
Have a look at what Lapce uses. The editor is coming along nicely, and iirc, they use the Xi editor as a plug-in.
-
CRDTs make multiplayer text editing part of Zed's DNA
Raph Levien posted a retrospective about using CRDT’s for collaborative editing in xi-editor here [1]. His conclusion is
“I come to the conclusion that the CRDT is not pulling its (considerable) weight. When I think about a future evolution of xi-editor, I see a much brighter future with a simpler, largely synchronous model, that still of course has enough revision tracking to get good results with asynchronous peers like the language server.”
[1]https://github.com/xi-editor/xi-editor/issues/1187#issuecomm...
What are some alternatives?
lapce - Lightning-fast and Powerful Code Editor written in Rust
helix - A post-modern modal text editor.
kibi - A text editor in ≤1024 lines of code, written in Rust
alacritty - A cross-platform, OpenGL terminal emulator.
pepper - simple and opinionated modal code editor for your terminal
iota - A terminal-based text editor written in Rust
glyph - My own personal code editor built with Rust + OpenGL
dotfiles - ❄️ My dotfiles for NixOS and macOS as a Nix flake. Neovim, Fish shell, Wezterm, etc.
Servo - Servo, the embeddable, independent, memory-safe, modular, parallel web rendering engine
add-ed - Embeddable ED in rust
kakoune.el - A very simple simulation of the kakoune editor inside of emacs.