News for hackers. Stuff that matters.
Re:Nano is no longer a GNU project by baldfat on Wednesday June 22, 2016 @10:21AM (#11954138)
vim file_foo

press i for interactive and make changes then press :wq

:) I have that embedded in my brain after all these years.

Re:Nano is no longer a GNU project by gargravarr on Wednesday June 22, 2016 @10:32AM (#11954235)
You forgot ESC after making changes ;)

nano file_foo

make changes

ctrl-O-Enter - save ctrl-X-Enter - exit

Simpler, I think?

Re:Nano is no longer a GNU project by eximius on Wednesday June 22, 2016 @11:00AM (#11954447)
Don't even need the ^O, it asks if you want to save on exit if there are modifications.