+1 for nano. I just need to change two parameters in a config file, not join a religion.
linuxmemes
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
- Understand the difference between a joke and an insult.
- Do not harrass or attack members of the community for any reason.
- Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
- Bigotry will not be tolerated.
- These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
3. Post Linux-related content
- Including Unix and BSD.
- Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of
sudo
in Windows. - No porn. Even if you watch it on a Linux machine.
4. No recent reposts
- Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
Please report posts and comments that break these rules!
Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.
When the holy war comes, you'll be among the first sacrifices!
Ehh, that's fine. I'm not too psyched about living in whatever comes afterward.
Amen!
Nano is only helpfull because of this nifty little info bar at the bottom.. No one can actually remember nano-shortcuts.
I was talking with a sysadmin once who intentionally removed nano and emacs from any system he was granted access to. His explanation was “if they can’t use vim I don’t want them on my machines”
There's a sysadmin at my place who does exactly that. He's kind of an idiot too.
Shocked
If a sysadmin expected me to use vim for every minor config tweak, I wouldn't want to be on their machines either.
I find vim quicker and easier for quick edits too, mostly because I've not bothered to learn anything but vim since it's on everything (except, for some odd reason, the default build of Gentoo)
I usually just don't give out the root password but what do I know lol
I've been using Vim for years, cause I can't figure out how to close it.
You came because it looked exciting...
You stayed because you couldn't leave.
As a nano user, I fully agree.
In the world of text editors, VIM, specifically NeoVim is the shining light. Standing at the pinnacle of creation at a height that can only be reached by zealous emacs users.
They have a learning curve through. Nano is obviously easier, but it's also just a basic editor.
:x
I ONLY EDIT TEXT BY TOGGLING OUT ASCII CODES ON A ROW OF SWITCHES DIRECTLY CONNECTED TO MY PARALLEL PORT\n
If I have to edit in a terminal: micro
If I need to edit something larger, and want a GUI: Kate
Anything else I flirt with and then drop promptly once I can't find the time to really learn it.
Jesus, why can't people just expose their drives to cosmic radiation and have it switch the bits in the file? So much time wasted writing useless editors.
Really the users of any other editor. We just see you as a bunch of nerds. But you build good stuff
The only editor I need:
Create: printf "TEXT" > FILE
Add: printf "TEXT" >> FILE
No room for mistakes.
Oh, vim. I wish I knew how to quit you.
: q !
unless you accidentally pressed "q" to early and entered recording-mode...
Just use sed -i like God intended.
Nano, based.
If I use VI or VIM I'm going to have to kill the task because I just tried to exit and uggggghhhh why!?
I recently worked on a system that had the TERM variable botched and filtered and no nano, just vim. It was all hell. The escape sequences in vim wouldn't work. I ended up suspendig it with ctrl+z, killing it, then editing the config with fucking ed and sed. That hoster sucks.
Name and shame.
Use DE and edit files with graphical editors like a normal human being.
Problem solved.