Hacker News new | ask | show | jobs
by floxy 4 hours ago
For resource constrained systems, don't overlook busybox vi.

https://k.japko.eu/busybox-vi-tutorial.html

1 comments

Right. Sometimes all you need is to edit a couple lines in a config file and get out, in which case hjkl, i/a, and Esc (and then :wq) are all the editor really has to implement. (And a few more movement tools like w/b and so on). Plugins? Colorschemes? You don't need 'em to edit a couple lines in a config file. (I'll grant that syntax highlighting that makes the comments a different color from the actual lines can be helpful, but if it comes at the cost of a much larger binary it's not always worth the cost on those resource-constrained systems).