3 ms·
nano, for when you don't care and just want to edit the damn text file. :D
by taneq 7y ago
nano, for when you don't care and just want to edit the damn text file. :D
- saagarjha 7y agoOh, no, I care very much: I go through great lengths to customize nano to my liking, to the point that I now inject code into it to construct my nanorc on-the-fly in memory for whichever version of nano it's running on: https://github.com/saagarjha/dotfiles/blob/master/fixnano.c https://github.com/saagarjha/dotfiles/blob/master/fixnano.c (did you know that newer versions of nano can format your code and check if it compiles, displaying errors inline?). If I need to edit files and don't have it available I rely on vi being standardized by POSIX: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/vi.html https://pubs.opengroup.org/onlinepubs/9699919799/utilities/v...
- taneq 7y agoWow, nano has come a long way from when it was yet another pico (or at least that's how we used it in uni, clearly there's more to it). Also vi being POSIX is awesome, I didn't know that! :)