haroldm / xi-gtk

a GTK+ front-end for the Xi editor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

xi-gtk

Join the chat at https://gitter.im/eyelash/xi-gtk

screenshot

Instructions

Build and Install xi-core

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

Build and Install xi-gtk

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
# Fedora:
sudo dnf install meson vala gtk3-devel json-glib-devel

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.

Shortcuts

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

To Do

  • mouse input and selections
  • saving
  • follow the cursor (respect the scrollto parameter)
  • undo / redo
  • copy / paste
  • line numbers
  • find / replace
  • i18n
  • preferences (font family, font size, etc.)

About

a GTK+ front-end for the Xi editor

License:Apache License 2.0


Languages

Language:Vala 92.5%Language:CSS 4.8%Language:Meson 2.6%