moore3071 / xi-tui

a tui frontend for Xi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

xi-tui

Build Status

xi-tui is a terminal frontend for xi.

It is experimental and under development, so don't expect anything magical (yet!).

Installation

The frontend assumes that you have installed the core editor and is available in your PATH. The following should suffice:

git clone https://github.com/google/xi-editor
cd xi-editor/rust
cargo install
# You now need to add ~/.cargo/bin to your PATH (this is where `cargo install`
# places binaries). In your .bashrc (or equivalent), add `export PATH=$PATH:~/.cargo/bin`

Then you can clone this repository and run the frontend with cargo run <your_file>. your_file can be an existing file or any dummy name.

Caveats

Tabs

We assume tabs (\t) are 4 columns large. It that is not the case in your terminal, the cursor position will be inaccurate. On linux, to set the \t width to four spaces, do:

tabs -4

About

a tui frontend for Xi

License:MIT License


Languages

Language:Rust 100.0%