this post was submitted on 02 Mar 2024
794 points (98.2% liked)

linuxmemes

20747 readers
674 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
top 44 comments
sorted by: hot top controversial new old
[–] Hjalamanger@feddit.nu 129 points 6 months ago (1 children)
[–] GFGJewbacca@lemm.ee 14 points 6 months ago

I prefer this version.

[–] lengau@midwest.social 52 points 6 months ago (4 children)

This is why I don't use vim. Can't spend all that mental energy on keybindings when I could spend it far more productively on KDE configuration options.

[–] idunnololz@lemmy.world 33 points 6 months ago* (last edited 6 months ago) (1 children)

You guys are all insane, and need to find a more productive use of your time and energy.

Queues up another ranked game of League of Legends

[–] dumpsterlid@lemmy.world 7 points 6 months ago

Y’all just waste your time obsessing over dumb shit turns on tv and binges shows for 5 hours

[–] crony@lemmy.cronyakatsuki.xyz 8 points 6 months ago* (last edited 6 months ago)

What do you mean spend mental energy on keybindings? Sure it will take you a couple times to do them to remenber them but after that you will just know them without having to think about them.

I don't know if it took me more than a couple hours to learn enough keybindings to be more productive than in vscode, and later on I just learned more as I need them and am now able to use them without thinking about it.

I used to spend more time searching for the button to click with a mouse and remembering in what menu it was than it took me to learn and use vim keybindings.

But this is all diff from person to person.

[–] dustyData@lemmy.world 7 points 6 months ago (1 children)

You could either spend hundreds of hours being a slower programmer in order to learn something that squeezes a diminishing returns save on time. Or you can be a fast programmer now, albeit marginally slower than one that knows vim.

[–] KrankyKong@lemmy.world 12 points 6 months ago* (last edited 6 months ago) (1 children)

Any amount of time I've saved using neovim has easily been offset by the amount of time I've spent configuring it. Wouldn't change it though. It's just fun to use, and there's something nice about using an editor that I configured from the ground up. You can also just use a neovim distribution if you don't care to set it up yourself.

The keybindings aren't hard though, and I would say that learning vim keybindings has had a net positive impact on my efficiency overall. They become second nature more quickly than you would think. Most actions are muscle memory at this point. Maybe a week of frustration, then you'll be back up to speed. Then you get faster and more fluid from there.

[–] dukk@programming.dev 2 points 6 months ago

Maybe I’m just lazy, I’ve only invested 10-15 hours total into my config.

Once I got it working, I’ve never bothered to really even touch it. (I probably should, it’s most likely months of out of date…just like my NixOS config…)

Next time I make changes will probably be when I update to 0.10 for inlay hints and set that up along with attempting to fix that error message that randomly pops up every time I start Neovim.

Also probably not the typical Neovim config experience, but I’ve configured it enough to get of my way, now I just want to write code.

[–] MaddestMax@lemmy.world 7 points 6 months ago

Ha! Ouch. Too true. Also, wezterm. I’ve been changing my config everyday for days now.

[–] Bishma@discuss.tchncs.de 49 points 6 months ago (1 children)

Last night Spotify decided to dredge up "November Rain" by GnR and I realized that I still have neurons devoted to a perfect memory of the lead flute part of a rock power ballad that I listen to once every 5 years. I don't even play the flute.

And that flute part is the reason I've never quite gotten the hang of buffers in Vim.

[–] NegativeInf@lemmy.world 19 points 6 months ago

Just throw out your name. You never call yourself by it, and they have these nifty little cards they give you to remind you of who you are and what you look like!

[–] user224@lemmy.sdf.org 25 points 6 months ago (1 children)

I feel like it's more of a muscle memory rather than remembering each keybindings.

Just like my old phone's pattern lock. I forgot what the hell I drew there, but when I picked it up, my thumb just put that in.

[–] nifty@lemmy.world 5 points 6 months ago* (last edited 6 months ago)

What a waste of muscle memory space

J/k but not really

[–] fossphi@lemm.ee 10 points 6 months ago (3 children)
[–] Hexarei@programming.dev 7 points 6 months ago (3 children)
[–] Shareni@programming.dev 3 points 6 months ago (2 children)
[–] mryessir@lemmy.sdf.org 1 points 6 months ago (1 children)

C-x C-Y/Z

For me with this position even C-D/E would be uncomfortable. So how to go about that?

[–] Shareni@programming.dev 2 points 6 months ago (1 children)

Use the opposite hand to press C?

[–] mryessir@lemmy.sdf.org 2 points 6 months ago

Oh yeah. I literally have never pressend this button before and therefore forgot about it. blushes

[–] Hexarei@programming.dev 1 points 6 months ago (1 children)

Huh. That's neat. Can't say whether it works, as I Ctrl with my thumb using a thumb cluster on my Dactyl Manuform

[–] Shareni@programming.dev 1 points 6 months ago

It takes a bit of practice, but then it's great.

[–] DampCanary@lemmy.world 1 points 6 months ago (2 children)

pinkies? well everyone has to press enter

but Caps-Lock is rare occasion key

[–] intensely_human@lemm.ee 3 points 6 months ago (2 children)
[–] DampCanary@lemmy.world 1 points 6 months ago

Sorry, but why?

I'm used to Ctrl+Shift as palm combination, so I can't figure why skip Ctrl

[–] debil@lemmy.world 1 points 6 months ago

Once you do this there's no coming back.

[–] Hexarei@programming.dev 2 points 6 months ago

My enter key is on my dactyl manuforms thumb cluster

[–] fossphi@lemm.ee 1 points 6 months ago (2 children)
[–] Hexarei@programming.dev 1 points 6 months ago

Yeah, evil mode worked pretty well when I tried it. But then I kept hitting things that just made me want to go back to neovim.

[–] dumpsterlid@lemmy.world 1 points 6 months ago

The only thing better than vim keybindings for programming is vim keybindings for org mode (I know neovim has some org mode stuff but it isn’t the same as full blown org mode in emacs).

[–] femboy_bird@lemmy.blahaj.zone 2 points 6 months ago (1 children)

Um akshually emacs is bad becuz it does follow the unix philosophy

[–] TunaCowboy@lemmy.world 5 points 6 months ago (1 children)
[–] intensely_human@lemm.ee 2 points 6 months ago
[–] Theharpyeagle@lemmy.world 8 points 6 months ago

I used to be like Jarvis here, but I'm a convert. I actually was tired of using my mouse all the time, so one day while writing up some docs, I decided to give Vim a try.

Honestly, I hate to say it but, I can't go back. It's so nice to be able to do so much from the keyboard alone.

[–] PlexSheep@feddit.de 5 points 6 months ago (1 children)

I have a plugin for that: which key (or something). It's easier if you just configure all keys yourself.

[–] mryessir@lemmy.sdf.org 1 points 6 months ago
[–] Linkerbaan@lemmy.world 5 points 6 months ago

Neuralink? I use VIM

[–] TheObviousSolution@lemm.ee 3 points 6 months ago* (last edited 6 months ago) (1 children)

I bet he doesn't even use SOAP after going to the toilet.

[–] aksdb@lemmy.world 1 points 6 months ago

I typically hope to get rid of SOAP by going to the toilet.

[–] w3dd1e@lemm.ee 3 points 6 months ago (1 children)

Can someone suggest a good way to lean VIM motions? I’ve been trying to use it as a VS Code extension but I don’t feel like I’m making any progress.

I want to move away from VSCode but I’m not comfortable doing that until I have a better understanding. :/

[–] breakcore@discuss.tchncs.de 3 points 6 months ago (1 children)

Try vimtutor on the commandline.

Interactive tutorial that takes place in vim itself :)

[–] w3dd1e@lemm.ee 1 points 6 months ago

Thanks! I’ll do that! I guess I’m missing out since I was using a Vim extension rather than Vim itself.

[–] BarrierWithAshes@kbin.social 1 points 6 months ago

Literally me but Blender keybindings. I can only learn so many shortcuts, imma stick to Nano.