DEV Community


Discussion on: Vim A to Z - Literally

simonced profile image

Nice article.
Continuing with z, zf will create a fold on what is selected.
za will toggle folds. I use those all the time.

Also, zl will scroll right (good for long lines).
and zh goes left.
You can also scroll more than 1 character at a time like so:

Happy Viming.

omerxx profile image
Omer Hamerman Author

Thanks for the additions! Some stuff, like folds (which I also use from time to time) I left out to try and focus on things that matter and make phonetic logic. I linked to my Vim notebook on Github where it goes further to explain.