Is anyone using this thing?
nano, or the new feature? I use nano all the time.
Over the last 20 years of using Linux I haven't learned vi and emacs above basic editing and saving files.
11–20 of 62 posts
Is anyone using this thing?
If I need to do quick editing, nano is perfect. If I need to do anything more complex, I'd use rmate[1] + rsub[2] with sublime text.
1: https://github.com/aurora/rmate 2: https://github.com/henrikpersson/rsub
First modify the buffer somehow. It really doesn't matter if you just type in "test"
Hit ^X to exit nano. When it asks you if you want to save the buffer hit Y
Save the file as "zzy" and press ENTER to trigger the Easter egg
^X+Y+zzy is likely a reference to xyzzy, a cheat code originally used in Colossal Cave Adventure[1]
1: https://en.wikipedia.org/wiki/Xyzzy_%28computing%29?wprov=sf...
Is anyone using this thing?
I also often use it to look inside random files on my Mac that won't open anywhere else (e.g. .xml, .json, files without extension names).
Earlier quoted context omitted.
Why do you use nano?
I use it in a pinch fairly constantly. Despite being a heavily customized Emacs user all the rest of the time. Mostly when I'm already scouring around the shell poking at files or need to make a simple new one (like a .gitignore) and I don't want/need to perturb whatever else I'm doing in Emacs.
Its everywhere, its quick, and unless you've done some pretty nutty stuff in your configs, basic usage is the same between a heavily customized vi and the vi you find bundled with every is bundled windows and gentoo. (Not to disparage any preference for emacs; it just seems a bit much to have to fall back to an entirely different editor seems a bit much)
Is anyone using this thing?
CTRL-X [y/n/c];
ALT-A and CTRL-K
CTRL-W and CTRL-R
...pretty much covers 99.9% of the commands I ever use in it.Earlier quoted context omitted.
nano, or the new feature? I use nano all the time.
Why do you use nano?
Earlier quoted context omitted.
Why do you use nano?
It's a simple text editor that's available out of the box in most Unix-like distros these days. So kinda like vi, except I know how to use it (and if I ever forget, it lists all shortcuts on the bottom of the screen anyway).