DEV Community

Discussion on: 3 Ways to Comment Out Blocks of Code in vi

Collapse
 
pnaranja profile image
Paul

Thanks for sharing!

For your #3, I use relative numbers so it's easy to see you can press "6j" to get to the end of the function.

And interesting code you're editing :)

Collapse
 
grepliz profile image
Liz Lam

Definitely a great shortcut also!

Yes! I will probably start blogging about Rust at some point in the future!