813
Songs about Vim (sh.itjust.works)
you are viewing a single comment's thread
view the rest of the comments
[-] cyberpunk007@lemmy.world 4 points 11 months ago

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.

[-] Sanyanov@lemmy.world -1 points 11 months ago

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

[-] jkozaka@lemm.ee 3 points 11 months ago* (last edited 11 months ago)

sure, but there are so many commands that are absolute godsends. one of my favourites is the c command. I can just write ct" and change all the text up to the next speech mark. and if you dislike some of the binds, make your own! (n)vi(m) is super customisable.

just because it's not familiar doesn't mean it's bad.

[-] Sanyanov@lemmy.world 1 points 11 months ago

Fair enough.

I guess someone can make use of this all, just not regular users. Besides, the controls are very legacy and it would make sense to make an updated version just to keep it more in line with tools people are used to and generally enhance user experience.

[-] jkozaka@lemm.ee 2 points 11 months ago

I think gvim does that, but i'm not sure.

[-] Sanyanov@lemmy.world 1 points 11 months ago

Will take a look, thanks

[-] hisbaan@lemm.ee 3 points 11 months ago

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.

[-] cyberpunk007@lemmy.world 0 points 11 months ago

By that logic get away from Linux, eventually you'll have to touch a shell and google some things to find out what to type inside a terminal. It's not hard to learn i for insert and type stuff and esc to get out, colon x to save and quit. If you can't remember those 3 steps you can't even update your system on a command line lol.

sudo apt-get update; sudo apt-get upgrade sudo pacman -Syyu

Etc. 3+ things to remember in each example.

[-] Sanyanov@lemmy.world 2 points 11 months ago* (last edited 11 months ago)

The terminal commands have same idea and structure and apply to the entirety of your system. While it is still sometimes annoying to learn CLI commands of third-party apps (yes, I know of man, but it can be useless without examples at times), commands are generally the same for Linux systems and they cover everything.

Learning vim is like learning Linux terminal again, but for just one task of word processing in one specific application. Why?

With that being said, I'd rather solve most of my problems with GUI applications rather than go into a terminal. I can do stuff through terminal - I know basics of Linux/Unix commands - but just why? For most routine tasks, it is simply faster and easier to go with GUI, unless you are over SSH or just have a terminal-only instance, or unless you're a sysadmin that does it 20 times each day and have muscle memory running in front of thinking what you wanna do.

I know how to update packages through terminal - the thing you demonstrate. But I can also press two buttons in app store and it will all be done for me, so why bother? (Also, you call it three steps, but it's kinda two steps on Debian or other apt-based distros followed by one step in Arch and other pacman-enabled ones? I'm confused)

I'm certainly not gonna use terminal for word processing unless I absolutely have to. And for that, I'll pick nano.

Linux has to get more user-friendly - and it does. Most people are not die-hard terminal fanatics and want to get their stuff done with minimal headache - and that's where it goes and should go. Being vim elitist doubles down on that terminal philosophy that is alien to an average user. And we should not discourage any type of user to try Linux for as long as they are willing to figure truly necessary stuff out.

[-] cyberpunk007@lemmy.world 2 points 11 months ago
[-] Sanyanov@lemmy.world 1 points 11 months ago

The most reasonable approach, I guess.

this post was submitted on 08 Jan 2024
813 points (98.0% liked)

linuxmemes

21615 readers
1247 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

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.

    founded 2 years ago
    MODERATORS