xeditor 0.1.0

A small GUI text editor built with Rust + Iced.
xeditor-0.1.0 is not a library.

xeditor

A small GUI text editor built with Rust + Iced.

Status

Early prototype. Expect rough edges.

Features

  • Split view: file explorer + editor
  • Open/save files (via native file dialogs)
  • Open a directory and browse a tree (expand/collapse)
  • Basic syntax highlighting (Iced highlighter)
  • Status bar with file path + cursor position

Keyboard shortcuts

On macOS use Cmd; on Linux/Windows use Ctrl.

  • Cmd/Ctrl+O: open file
  • Cmd/Ctrl+Shift+O: open directory
  • Cmd/Ctrl+S: save
  • Cmd/Ctrl+N: new file

Run

cargo run

Build a release binary:

cargo build --release

Nix (optional)

If you use Nix flakes:

nix develop
cargo run

Build with Nix:

nix build

Notes / troubleshooting

  • Linux: you may need system libraries for windowing/GPU (Wayland/X11 + Vulkan/OpenGL). The flake.nix dev shell wires common runtime deps.
  • There are few deps for the rfd file dialog crate.
  • If the app launches but shows a blank window, try running with RUST_LOG=debug and check for graphics backend/runtime library issues.

License

See LICENSE.