nxu/femto.txt

48 lines
975 B
Plaintext

---- femto text editor ----
based on nano.
draws graphics using ANSI control sequences.
this means the terminal must be in raw mode with echo
turned off. the `femto` wrapper script achieves this
using `sttry raw -echo` (it also restores the previous
terminal settings on exit).
you must provide a path to a file when starting femto:
./femto femto.tal
----- current status -----
- can't save changes
- doesn't support long lines/horizontal scrolling
- no search (or search&replace)
- no help messages
----- special key bindings -----
C-o save (TODO)
C-x quit
C-a go to beginning of line
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
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)