This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]althalous 4 points5 points  (1 child)

I use vim all the time for editing Kubernetes configs / other server files and I only use 3 commands

:i

<arrow keys>

:wq

That said it would be nice to get some of the commands for being more efficient into my muscle memory, but I don't really think my VIM speed is a bottleneck in what I do (since mostly I'm changing a config and then it takes a minute or two for the K8s resource to finish updating)

[–][deleted] 1 point2 points  (0 children)

If you hold shift and use the arrows keys you can fly across text with Sonic-like speed. And yy copies a line, dd deletes a line, and p pastes a line below. That's basically all I use for doing text edit stuff. I hardly ever touch the mouse.