Make sure you have a recent version of Rust and Cargo installed (either from your distribution's repositories or with rustup) and that ~/.cargo/bin
is in your PATH
environment variable.
git clone https://github.com/google/xi-editor.git
cd xi-editor/rust
cargo install
First you need to install the dependencies.
# Debian/Ubuntu:
sudo apt install build-essential valac meson libgtk-3-dev libjson-glib-dev
# Arch:
sudo pacman -S vala meson
Once you have the dependencies installed you can build xi-gtk.
git clone https://github.com/eyelash/xi-gtk.git
cd xi-gtk
mkdir build
cd build
meson ..
ninja
Now you can either launch xi-gtk from the build directory with ./xi-gtk
or install it with sudo ninja install
.
Shortcut | Command |
---|---|
Control+N | New File |
Control+O | Open File |
Control+S | Save |
Control+Shift+S | Save As |
Control+Z | Undo |
Control+Y | Redo |
Control+Q | Quit |
- mouse input and selections
- saving
- follow the cursor (respect the
scrollto
parameter) - undo / redo
- line numbers
- copy / paste
- i18n
- preferences (font family, font size, etc.)