Hacker News new | ask | show | jobs
by baldfat 3646 days ago
vim file_foo

press i for interactive and make changes then press :wq

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

1 comments

You forgot ESC after making changes ;)

nano file_foo

make changes

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

Simpler, I think?

Don't even need the ^O, it asks if you want to save on exit if there are modifications.