xi-tui
is a TUI frontend for xi.
- basic editing
- quit
- cursor handling
- scrolling
- with keyboard (still some issues with "Page Up")
- with mouse
- selection
- with mouse
- with keyboard
- yank/paste
- operating on files
- opening a new file
- loading an existing file
- saving current file
- @potocpav for the json-rpc client I stole from xi_glium.
- @ticki for termion, on which this project is based.
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
Line wrapping is completely unsupported for now. Lines that are too long will mess up the output. I'm not even sure if line wrapping should occur in the backend or in the frontend.