blob: 4e8bd960a81b603de8d3d54ef03a75e547a2175e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
+ optimize redraws (i.e., avoid to redraw if possible)
- move configs in config.h
- add Makefile
- change screen management (i.e., dynamic array of lines)
- get screen geometry
- add action multiplier (e.g., "7h" moves left by 7 cols)
- use [ENTER] to confirm arrow, boxes, and text (useful for scripting)
- add scripting mode option ("-s"?)
- add screen geometry option (-g 25x80?)
- read file at point
- parse control characters
- parse arrows (text-mode will allow movements as well)
- (?) implement CTRL+G as abort (aside ESC)
- add crop command (c)
+ visual selection
- crop-to
- yank/put
* fill
* delete
- undo (by storing lines changed across insert/remove operations)
- manage special chars (DEL/CANC) during text insert
(also do not print unmanaged chars!)
- allow scrolling (both vertical and horizontal)
- auto-arrow 'A' (automatic end-char)
* change "g" command:
- g-g (goto top-left)
- g-G (goto bottom-right)
- g-m (goto middle)
- g-[hjkl] (goto leftmost, bottom, top, rightmost)
* move style commands in a separate function
(and allow style change in all the modes...)
* add "vis" (for visual) in mode strings
* implement "." to reset styles to defaults.
* load from file
* check if modified on exit
* write to new file / default file
* delete -- 'x'
* save to file
* implement arrow
* set different line styles (done for hl, vl, corner)
* add status bar
* implement box
|