in my experience with editing code on a chromebook-class Linux laptop (PineBook Pro) even the simpler Kate has enough bells and whistles for most common tasks (e.g.: syntax highlighting).
Regarding RAM: it might be worth looking into Zswap (a compressed cache that stand between you app's RAM and the actual swap on disk).
