+/Femto

toy text editor

git clone https://git.julia.blue/+/Femto

p1n3appl3Check for dirty on save and modify cursor behavior at top of filef19b7ef

master
1.0 KiB26 linesraw
1CTRL-H help dialogue (R,H,S,Q,N,O,F)
2Save-as support (redo quit system to be like nano)
3longer intro message
4replace prompt after find
5SHIFT arrow keys select text (inverts bg)
6find selects
7find highlights ALL instances (handle saved_hl restoration)
8CTRL-A selects line (from tab) and repeated presses select groups at the same tab level
9CTRL-/ comments selected lines
10CTRL arrow keys jump to "words"
11shift tab and tab when selected to indent/unindent line
12cut copy pasta
13use ncurses
14~.femtorc file for line numbering/lang settings/hl colors (and hl words), tab size, soft wrap, etc.
15highlight functions detecting open paren
16highlight arithmetic symbols
17recognize hex and bin escapes
18look into regex for highlighting
19redo hl colors
20resize abuf and row text by factors of 2 and 1.5 instead of single char
21hash contents to check modified instead of simple dirty counter
22record asciinema
23
24http://bluesock.org/~willkg/dev/ansi.html
25https://vt100.net/docs/vt102-ug/chapter5.html#S5.5
26https://en.wikipedia.org/wiki/ANSI_escape_code