Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/0xkoda/rim
- Owner: 0xKoda
- Created: 2024-08-28T20:52:54.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-08-29T01:43:24.000Z (3 months ago)
- Last Synced: 2024-08-29T02:52:22.858Z (3 months ago)
- Language: Rust
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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.