mininotes

Crates.iomininotes
lib.rsmininotes
version0.2.0
sourcesrc
created_at2022-12-27 14:02:03.766431
updated_at2024-01-28 12:21:06.670013
descriptionA small terminal text editor
homepage
repositoryhttps://github.com/Dimev/mininotes
max_upload_size
id746247
size117,252
Dimev (Dimev)

documentation

README

Mininotes

A small terminal text editor

app_screenshot

Features

  • grapheme navigation
  • line numbers
  • status bar
  • loading and saving
  • mouse to cursor position
  • undo/redo
  • selection
  • copy/paste
  • pageup/pagedown scroll
  • skip words navigation

Usage

Usage: [OPTIONS]

File path: path to the file to edit.

Options

  • -r --relative-line-numbers: enables relative line numbers
  • -d --disable-mouse-interaction: disables mouse clicking and dragging to move the cursor
  • -t --tab-width: how wide a tab is displayed.
  • -h --help: list these options

Keybinds

  • arrow keys: move cursor

  • Ctrl+arrow keys: move cursor, and skip past words (the first whitespace after a non-whitespace character)

  • Shift+arrow keys: move cursor, and add selection

  • Ctrl+c: copy selection

  • Ctrl+v: paste selection

  • Ctrl+x: cut selection

  • Alt+c: copy selection to system clipboard

  • Alt+v: paste selection from system clipboard

  • Alt+x: cut selection to system clipboard

  • Ctrl+z: undo change

  • Ctrl+y: redo change

  • Alt+d: discard changes since last save

  • Ctrl+s: save changes to file

  • Alt+q: quit (does not ask for confirmation)

Platforms

Should work on most desktop platforms and terminals

Tested on linux, windows and termux (android)

Licence

MIT, see LICENCE for details

Commit count: 66

cargo fmt