Indenting Text using Vim

There are several ways to do indenting using Vim, my current favourite is to do the following;

  1. Place your cursor where you want to begin to indent.
  2. Press V to select that line
  3. Move down the lines you want to indent using j
  4. Press > to indent, or < to outdent the selected text

Of course if you just want to indent or outdent one line you can type > or < when you are on that line.

Recent posts View all

Marketing

How to build your email list

We look at some ways you can build your email list

SEO

Google Search Console and S3

Hosting your sitemap somewhere other than your main domain requires some additional steps in Google Search Console