nxu/femto.txt

48 lines
975 B
Plaintext
Raw Normal View History

2022-02-16 19:24:35 -05:00
---- femto text editor ----
2022-02-08 01:16:06 -05:00
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).
2022-02-16 19:24:35 -05:00
you must provide a path to a file when starting femto:
./femto femto.tal
----- current status -----
2022-02-08 01:16:06 -05:00
- can't save changes
- doesn't support long lines/horizontal scrolling
- no search (or search&replace)
2022-02-16 19:24:35 -05:00
- no help messages
----- special key bindings -----
C-o save (TODO)
C-x quit
2022-02-08 01:16:06 -05:00
C-a go to beginning of line
C-e go to end of line
2022-02-16 19:24:35 -05:00
C-b move back one character
2022-02-08 01:16:06 -05:00
C-f move forward one character
C-n move down one line
C-p move up one line
2022-02-16 19:24:35 -05:00
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)