Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/0xkoda/rim

text editor in rust, inspired by vim
https://github.com/0xkoda/rim

Last synced: 9 days ago
JSON representation

text editor in rust, inspired by vim

Awesome Lists containing this project

README

        

# Rim - Rust Text Editor

Rim is a simple text editor written in Rust, inspired by Vim.

## Commands

### Normal Mode
- `i`: Enter Insert mode
- `:`: Enter Command mode
- Arrow keys: Move cursor
- `q`: Quit (in Normal mode only)

### Insert Mode
- Type to insert text
- Arrow keys: Move cursor
- `Backspace`: Delete character before cursor
- `Enter`: Insert new line
- `Esc`: Return to Normal mode

### Command Mode
- `:w`: Save file
- `:q`: Quit
- `:wq`: Save and quit
- `Esc`: Cancel command and return to Normal mode

## Usage

To open a file with Rim:

```
cargo run --
```

If the file doesn't exist, it will be created when you save.