improve femto.txt
This commit is contained in:
parent
5870afd9d1
commit
24beaf1c61
39
femto.txt
39
femto.txt
|
@ -1,4 +1,4 @@
|
||||||
femto text editor
|
---- femto text editor ----
|
||||||
|
|
||||||
based on nano.
|
based on nano.
|
||||||
|
|
||||||
|
@ -9,22 +9,39 @@ turned off. the `femto` wrapper script achieves this
|
||||||
using `sttry raw -echo` (it also restores the previous
|
using `sttry raw -echo` (it also restores the previous
|
||||||
terminal settings on exit).
|
terminal settings on exit).
|
||||||
|
|
||||||
current status:
|
you must provide a path to a file when starting femto:
|
||||||
- hardcoded input path
|
|
||||||
|
./femto femto.tal
|
||||||
|
|
||||||
|
----- current status -----
|
||||||
|
|
||||||
- can't save changes
|
- can't save changes
|
||||||
- no page up/down
|
|
||||||
- at least one delete bug
|
|
||||||
- doesn't support long lines/horizontal scrolling
|
- doesn't support long lines/horizontal scrolling
|
||||||
- no search (or search&replace)
|
- no search (or search&replace)
|
||||||
- no help messages/status bar context
|
- no help messages
|
||||||
- hardcodes 80x24 dimensions even on larger terminals
|
|
||||||
|
----- special key bindings -----
|
||||||
|
|
||||||
|
C-o save (TODO)
|
||||||
|
C-x quit
|
||||||
|
|
||||||
special key bindings
|
|
||||||
C-a go to beginning of line
|
C-a go to beginning of line
|
||||||
C-b move back one character
|
|
||||||
C-d delete
|
|
||||||
C-e go to end of line
|
C-e go to end of line
|
||||||
|
|
||||||
|
C-b move back one character
|
||||||
C-f move forward one character
|
C-f move forward one character
|
||||||
C-n move down one line
|
C-n move down one line
|
||||||
C-p move up 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)
|
||||||
|
|
Loading…
Reference in New Issue