this post was submitted on 07 Jul 2023
10 points (100.0% liked)

Programming

423 readers
2 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
 

TL;DR: I use a vim like editor which tackles Vim's greatest weakness: vis.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] wgs@lemmy.sdf.org 3 points 1 year ago* (last edited 1 year ago) (1 children)

I guess my point was not really clear then. I wanted to point out that vim's "command" mode is not optimal because when you use it, you'll use the substitute command 90% of the time. This might be more visible if you compare sam to ed or sed, which are not visual editors.

Of course vim's normal mode is better for the changes I listed, but I wanted to make a point about sam's commands being more powerful than vim's commands.

This is the whole point of this post: using vim with sam's command mode makes it a better editor !

[โ€“] noeontheend 1 points 1 year ago

Thanks! I think we just have very different ways of using Vim, which is fine! I personally hardly ever use the substitute command beyond the occasional find and replace to change a variable name. Perhaps my main takeaway ought to be that I should look for more chances to use it--there's always more power to unlock :)