atto
atto copied to clipboard
Load all files on command line and optionally jump to specified line
Issuing ./atto +10 README.md main.c -- +5
in the source directory will:
- open README.md with the cursor set to line 10
- open main.c
- try to open the non existing file
+5
This patch adds 19 Wheeler's SLOC and 24 netto lines to atto.
wc -l *.[ch]
gives 1994.
This would be a nice feature to add to my Fento Editor where I have not placed a limit of keeping below 2000 lines of C.
This would be a nice feature to add to my Fento Editor where I have not placed a limit of keeping below 2000 lines of C.
In fact I've started to work on Femto first with this and other PR. But atto does what I need (simple edits in resource constrained environments) and at this moment I couldn't afford working on two side projects.
On the other hand: How do you count lines of C? What kind of (line reducing) optimizations are allowed? How much "buffer" of C lines do you allocate?