this post was submitted on 08 Jan 2024
809 points (98.0% liked)
linuxmemes
21226 readers
30 users here now
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!
founded 1 year ago
MODERATORS
Hey, I read man pages all that time, Vi/Vim are just unreasonably complicated. Sure, those commands had sense when there were no key modifiers available on keyboards, but in this day and age, to not at least add some shortcuts to be part of the program by default... thanks, but if I have to read a man page to exit a terminal text editor, that's just not really my cup of tea.
I don't know when or why I learned vi, but once I used it for that short period of time I got used to it and it's just muscle memory for me now. 99% of the dime I'm using x to delete text, yy (or #yy) and dd (or #dd) or p/P to copy/delete/paste lines, or :s/oldtext/newtext/g, or :wq or :x to write and quit. That's like basically all I ever use VI for and it's quick and easy to do. Once you know it, like anything, it's quite a nice editor. Of course it can do a lot more than I typically use it for.
If you think it's complicated, think about the first time you had to type sudo apt-get install firefox instead of googling Firefox and double clicking an executable.
You just kindly described why no one ever should use Vim :D
Using xyzbdvefsisgshs to copy-paste a line is not the level of convenience someone expects from a modern tool
Convenience is often a tradeoff for power. Nobody is claiming that vi and its derivatives are convenient, they're saying it's powerful.
Personally I'm much much faster using neovim than I could be using something like vscode. There's a myriad of other benefits that modal text editing brings to the table, not having to use a mouse and constantly switch back and forth being a big one for me.