339
you are viewing a single comment's thread
view the rest of the comments
[-] ebits21@lemmy.ca 9 points 1 year ago

You should use vim for very different reasons than nano or micro.

[-] burgersc12@sh.itjust.works 2 points 1 year ago

Do i dare ask why? I just want a basic text editor i don't have to fight with to exit. I want to type, save, and exit, and maybe not in that order.

[-] ebits21@lemmy.ca 18 points 1 year ago

So you want something like Nano.

Vim is great for more complicated documents and programming because the modes allow you to fly around the document much faster. It’s not very useful unless you put the time into learning how to use it… and it’s not worth it for simple things imo.

I use it to write work reports. It’s much faster for many things: one example I type dap and bam a whole paragraph is deleted, d5w and the next 5 words are deleted. I use snippets to compete reports like fill in the blanks (I have hundreds of snippets, I hit rpt then tab and a whole report skeleton is generated). Annoying long patient name? I hit CTRL-N and it fills out the name with only a few characters.

Vim is actually just amazing for this kind of stuff.

[-] zbecker@mastodon.zbecker.cc 3 points 1 year ago

@ebits21 @burgersc12

Oh shoot I didn't know about C-n. Thanks for that.

[-] fraydabson@sopuli.xyz 6 points 1 year ago

As someone who has been lightly using Linux for years but recently gotten more into it. I’ve always only ever used nano. But now I’m so into vim that when a program opens a config in nano I get confused when I can’t quit with :wq

[-] thedeadwalking4242@lemmy.world 4 points 1 year ago

You don't have to fight to exit in vim or save it's 3 essential commands and I use nothing else :q, :wq, or just w it's not that hard

[-] burgersc12@sh.itjust.works 0 points 1 year ago

Sorry, but i forgot to hit escape, now I need to figure out how to exit it without being able to easily type man vim because I got stuck in Vim again... I got sick of it, ctrl-x/s/q or whatever is much easier imo

[-] thedeadwalking4242@lemmy.world 3 points 1 year ago

Oh no you have to one more key :(

[-] burgersc12@sh.itjust.works 0 points 1 year ago

And i have to memorize what : w q ! each do because I will use them all at some point. And i have to get used to all of this because?? Vim is slightly better for other people?? Fuck outta here, I'm sticking with nano/micro/whatever else is better than vim

this post was submitted on 13 Sep 2023
339 points (97.2% liked)

linuxmemes

21019 readers
371 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!

    founded 1 year ago
    MODERATORS