Crates.io | mdedit |
lib.rs | mdedit |
version | |
source | src |
created_at | 2025-01-29 13:14:10.203707 |
updated_at | 2025-02-06 19:52:08.103014 |
description | markdown editor with ratatui and rat-salsa |
homepage | |
repository | https://github.com/thscharler/mdedit |
max_upload_size | |
id | 1534718 |
Cargo.toml error: | TOML parse error at line 23, column 1 | 23 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
This application is built with [rat-salsa][refRatSalsa].
MDEDIT(1) Markdown editing MDEDIT(1)
mdedit - markdown editing
mdedit [file ...]
A simple markdown editor with some syntax highlighting.
Key | Description |
---|---|
Esc | Jump to menu and back. |
Tab / Backtab | Navigate focus. Will not work to |
leave the editor, use Ctrl+W Tab | |
there. | |
F4 | Jump to tree and back. |
F5 | Jump to file list and back. |
F6 | Hide/show file list. |
F2 | Cheat sheet. |
F1 | This document. |
Key | Description |
---|---|
Enter | Open in current split. |
'+' | Open in new split. |
If the file is already open it is selected instead.
Key | Description |
---|---|
Ctrl-W Left/Right | Jump between split windows. |
Ctrl-W Tab/Backtab | Change focus. |
Ctrl-W t | Jump to tabs. Use Left/Right |
to navigate. | |
Ctrl-W s | Jump to edit split. Use |
Left/Right to resize and | |
Alt+Left/Alt+Right to navigate | |
splits. | |
Ctrl-W f | Jump to file split. Use |
Left/Right to resize. | |
Ctrl-W c | |
Ctrl-W x | |
Ctrl+F4 | |
Ctrl+e | Close the current window |
Ctrl+Shift+F4 | Close all windows in the current |
Ctrl+Shift+e | split. |
Ctrl-W d | |
Ctrl-W + | Split view |
Key | Description |
---|---|
Ctrl+O | Open file |
Ctrl+N | New file |
Ctrl+S | Save file. Auto-saved when the |
terminal looses focus. |
Key | Description |
---|---|
Ctrl+C / Ctrl+X / Ctrl+V | Clipboard |
Ctrl+Z / Ctrl+Shift+Z | Undo / Redo |
Ctrl+D | Duplicate line. |
Ctrl+Y | Delete line. |
Ctrl+Backspace / Ctrl+Delete | |
Alt+Backspace / Alt+Delete | Delete word. |
Tab / Backtab | Indent/Dedent selection. |
Insert tab otherwise. | |
Alt+1..6 | Toggle header. |
'_' / '*' / '~' + Selection | Wrap the selected text with the |
markup character. | |
Alt+C | Add code quotes. |
Alt+I | Add image link. |
Alt+L | Add link. |
Alt+K | Add reference link. |
Alt+R | Add reference. |
Alt+F | Add footnote. |
any bracket + Selection | Wrap the selected text with the |
bracket. |
Key | Description |
---|---|
Any text | Will not maintain the table |
delimiters, use Ctrl+F / Ctrl+G | |
to reformat when done. | |
Enter | Line break within the table. |
It maintains the table structure | |
and adds a new table row. | |
It can add a line-break inside | |
existing text too. | |
Tab / Backtab | Navigate between cells. |
F8 | Format the table according to |
the header widths. Overlong | |
cells are not cut or reformatted | |
though. | |
F7 | Same as Ctrl+F but chooses the |
max column width as width for | |
all columns. |
Key | Description |
---|---|
F8 | Formats the item at the cursor |
position, or everything | |
selected. | |
F7 | Alternate format. |
Formats a table to with all | |
equal column widths. | |
Alt+1 .. Alt+6 | Flip header. |