I’ve always preferred vi commands, they make sense and are mostly abbreviations or regex, all the other editors have the strangest commands…
To write and quit in vi :wq
To write and quit in nano: ctrl-o, confirmation dialog about tmp files, ctrl-x, confirmation dialog about exiting… weird feeling that I didn’t actually save the file… reopen, okay it saved, ctrl-x, confirmation dialog, weird feeling that I accidently edited the file…
I used nano for years until I forced myself to learn the basics of vi(m), now whenever something opens nano by default it annoys me and I immediately change the editor to vim 😂
I’ve always preferred vi commands, they make sense and are mostly abbreviations or regex, all the other editors have the strangest commands…
To write and quit in vi :wq
To write and quit in nano: ctrl-o, confirmation dialog about tmp files, ctrl-x, confirmation dialog about exiting… weird feeling that I didn’t actually save the file… reopen, okay it saved, ctrl-x, confirmation dialog, weird feeling that I accidently edited the file…
Yeah, like Word, you open it, don’t change anything, close, “Do you want to save changes?”… WTF 🤨.
I used nano for years until I forced myself to learn the basics of vi(m), now whenever something opens nano by default it annoys me and I immediately change the editor to vim 😂