Editor: gram

Gram is a fork of the Zed code editor. It features solid performance and is highly configurable, yet comes with batteries included out of the box. Gram supports many popular languages, and can use Zed extensions to support additional languages. Other features include built-in documentation, debugger support via the DAP protocol, source control using git and more.

Install

Available via brew on MacOS, or compiled binaries from https://gram.liten.app/

Extensions

gram, as fork of ZED, can use its extensions library: https://zed.dev/extensions

Remote-Server

You need to copy the binary from https://codeberg.org/GramEditor/gram/releases to ~/.gram_server/gram-remote-server-stable-1.0.0 at the destination system

The binary works fine for glibc versions 2.38, but Debian 12 is using 2.36

AND you need a current version of rust to compile the remote-server

Install current rust for Debian 12 with help of https://rust-lang.org/tools/install/

https://gram.liten.app/docs/remote-development/#Initializing-the-remote-server

Compiling

You need a bit of tuning, because the default will create a 700 MB binary with all libraries and debug included.

Just set the Cargo.toml to these values

[profile.release]
opt-level = 3          # full optimisation
debug = false          # <─ 0 = no debug info
lto = "fat"            # <─ merge all crates
codegen-units = 1
panic = "abort"        # <─ no unwinding
strip = true           # <─ run `strip` after linking

Then start the process

cargo build -p remote_server --release

and copy the binary

cp target/release/remote_server ~/.gram_server/gram-remote-server-stable-1.0.0