A Vim Guide for Advanced Users

Welcome to the third part of this series aimed to help you unleash a power never seen on Earth using the Almighty Vim. If you don’t understand what’s happening in this article, I recommend you to read the previous ones of the series first:

  1. Vim for beginners
  2. Vim for intermediate users

We’ll see together in this article:

  • Some nice keystrokes beginning with g.
  • What ranges are and how to use them.
  • The quickfix list and the location lists.
  • The marvelous substitute command.
  • The crazy useful :global (or :g) command.
  • What marks are and what you can do with them.
  • How to increase and decrease numbers with a single keystroke.
  • How to sort text with a nice command.

This thread was posted by one of our members via one of our news source trackers.

1 Like

Corresponding tweet for this thread:

Share link for this tweet.

1 Like

Holy carp, I’ve been using vi[m] for literally decades, decided to read these to see what advanced tips I could glean, and there’s stuff I didn’t know, even in the beginner one!


This is a good cheat sheet worth printing out: