lino

A command line text editor with notepad like key bindings. [WIP]


Usage (Keybindings)

| Key | Function | | --- | --- | | , , , | Move | | Ctrl + , | Move by word | | Page Up , Page Down | Move by page (scrolling) | | Home | Move to line start | | End | Move to line end | | Shift + , , , | Select | | Ctrl + Shift + , | Select by word | | Shift + Page Up , Page down | Select by page | | Shift + Home | Select upto line start | | Shift + End | Select upto line end | | Backspace | Delete backwards | | Del | Delete forwards | | Ctrl + X | Cut | | Ctrl + C | Copy | | Ctrl + V | Paste | | Ctrl + Z | Undo | | Ctrl + Y | Redo | | Ctrl + S | Save | | Ctrl + Q | Quit |

Building/Running

You will need to have Rust (2018 or higher), installed on your system before proceeding. Install it from; https://www.rust-lang.org/tools/install

  1. Clone this repo sh git clone https://github.com/ahmednooor/lino.git
  2. Go into the loned repo directory sh cd ./lino/
  3. Run with cargo sh cargo run <optional-filename>

On Linux (Debian based), if you head into problems, try installing the following libraries and re run with cargo.

sh sudo apt install xorg-dev libxcb-present-dev libxcb-composite0-dev libxcb-shape0-dev libxcb-xfixes0-dev

If you get an error about something like couldn't like with cc, try installing the following.

sh sudo apt install gcc gcc-multilib binutils

Dependencies