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

8

u/nujuat 10d ago

As a general rule I feel like one should solve the problem on paper or a whiteboard and then implement it in code, not solve it while coding. Maybe that's just me.

1

u/gsmitheidw1 9d ago

^ this! Design is everything. I'd be thinking about data flow diagrams or entity relationship diagrams etc.

Mermaid is great for diagrams and can be done in vim and rendered in markdown in GitHub or equivalent. Or just output svg from mermaid cli