3 ms·
I only have to edit a file on Linux once every couple of months of so - I tired of forgetting how to exit vi (or enter/exit edit mode, save the file... just abo
by GordonS 8y ago
I only have to edit a file on Linux once every couple of months of so - I tired of forgetting how to exit vi (or enter/exit edit mode, save the file... just about anything really), so started installing nano as the first thing I do on any system. Nano is so much more obvious than vi.
- GordonS 8y agoAlso, there's a reason why there are so many "can't quit vi" memes.
- loopbit 8y agoReading the comments about vi... Am I the only one that knows/uses ZZ to save and quit?
- MayeulC 7y agoAs I tend not quit vi that often compared to the time I spend inside, I prefer to use the more explicit version. I have made some mistakes in the past typing `^X-O` in nano instead of `^X-N` because of muscle memory, thereby overwriting a file I didn't want, and I am afraid of repeating this if `ZZ` became part of my muscle memory.
- nemetroid 8y agoMost people can't install arbitrary software on every system they access.
- MayeulC 7y agoThis exactly. I am pretty sure that if you gain [adb] shell access inside of an android recovery partition (as a random example), you have read-only access to the system, with only busybox at your disposal. Thus vi, but no nano.