> And if you need one line changed... Just use Nano... Does the job, is easy enough that you do not need to learn special things. Even presents some features like cut and paste and search there in default UI.
(Neo)Vim has these too ;)
d# to cut # lines (or dd to cut one line)
p to paste below, P to paste above
/ to search (supports regex)
Also some bonuses like find and replace:
`:%s/old_thing/new_thing`
And going to a specific line:
#G (where # is line num.), alternatively gg to jump to the top of the document and G for the bottom.
For me it took a day or two to learn these basic keybinds, but now I much prefer it to nano as its significantly faster to navigate around even for quick edits.