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”
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.
If a sysadmin expected me to use vim for every minor config tweak, I wouldn't want to be on their machines either.
Once you get the hang of it it's just so much quicker for small and big tasks.
Check out vim adventures:
Or just install vimtutor and try around. The basics are pretty simple, and the more advanced stuff infinitely helpful.
I've been using Vim for years, cause I can't figure out how to close it.
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.
Vim can do much more than nano, but for it to work, quite a few specific stars need to align, and if they don't you are screwed.
Nano on the other had just works. If it exists in your env.
I only use Vim, but I appreciate nano as a choice and don't even really mind visudo opening nano
I appreciate nano as a choice. Sure. But if visudo opens in nano and suddenly I have a bunch of "yoi:wq" in my sudoers I'll be upset.
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
Long live to emacs!
EMACS is a great operating system, it only lacks a good editor.
eVil mode. It's next on my TODO list to try, so I can go back to Emacs' fantastic Haskell mode without knackering my left pinkie.
Why not eVim?
Oh, vim. I wish I knew how to quit you.
: q !
unless you accidentally pressed "q" to early and entered recording-mode...
+1 for nano. I just need to change two parameters in a config file, not join a religion.
Nano is only helpfull because of this nifty little info bar at the bottom.. No one can actually remember nano-shortcuts.
Nano Shortcuts are shit. Like CTRL+X to save. What the fuck??? Why not use CTRL+S for this?
Amen!