improve femto.txt

This commit is contained in:
Erik Osheim 2022-02-16 19:24:35 -05:00
parent 5870afd9d1
commit 24beaf1c61
1 changed files with 28 additions and 11 deletions

View File

@ -1,4 +1,4 @@
femto text editor
---- femto text editor ----
based on nano.
@ -9,22 +9,39 @@ turned off. the `femto` wrapper script achieves this
using `sttry raw -echo` (it also restores the previous
terminal settings on exit).
current status:
- hardcoded input path
you must provide a path to a file when starting femto:
./femto femto.tal
----- current status -----
- can't save changes
- no page up/down
- at least one delete bug
- doesn't support long lines/horizontal scrolling
- no search (or search&replace)
- no help messages/status bar context
- hardcodes 80x24 dimensions even on larger terminals
- no help messages
----- special key bindings -----
C-o save (TODO)
C-x quit
special key bindings
C-a go to beginning of line
C-b move back one character
C-d delete
C-e go to end of line
C-b move back one character
C-f move forward one character
C-n move down one line
C-p move up one line
C-x quit
M-v page up
C-v page down
M-< go to start of file
M-> go to end of file
M-g go to line (TODO)
C-l refresh screen
C-d delete
(C stands for Control)
(M stands for Meta, often Alt or Option)