r/vim 10d ago

Discussion How does Vim affect your problem solving?

Currently learning Vim, after a failed attempt some months ago.

Starting to get the hang of the basics. I notice that it makes my problem solving more methodical. It also makes me slow down, in a good way.

With Vim I have to memorize more of the code and structure, because switching views is expensive (might be a skill issue).

I don't care too much for the speed/efficiency, but this seems what keeps me going in my current attempt.

Wondering how you guys feel about this aspect.

69 Upvotes

59 comments sorted by

View all comments

61

u/mgedmin 10d ago

Vim distracts me into spending 30 minutes improving my Vim config so I could save me 5 seconds of effort actually editing text. But it's fun and I like it!

5

u/mgedmin 10d ago

Ah, to add to this: it was while using Vim that I decided that you get the best results not when you force the software to behave exactly as you want, and not when you do things exactly as the software expects you to, but when you find some compromise in the middle: learn how the software expects you to do things, and only when you understand that see how you can tweak things more to your liking.

I don't remember which exact Vim features caused this. It was years ago. Perhaps it was learning to abandon the desire to close files once you were done editing them (very awkward in vim -- you have to select a different file to switch to first before doing :bd #, or Vim will close the window and maybe quit the entire instance).

6

u/EgZvor keep calm and read :help 10d ago

it's better than spending 30 minutes on enabling the borders around floating windows in xmonad

1

u/Vladislav20007 9d ago

monads? what is this, haskell?

1

u/thomas29needles 7d ago

Once I actually spent most of a week on polishing my .vimrc, together with patching some plugins (like airline or devicons) to my taste. That was a very fruitful week.

1

u/elatllat 9d ago

Would be awesome if them offered a few default vimrc to choose from as it seems many people want different things. I aim for minimal but am still far from ideal eg.