Skip to content
Tags

,

vim indentation

November 21, 2011

To change indentation on a block of code follow the following commands

1. v #to enter the visual mode

2. <select appropriate lines of code>

3. < # to shift the selected lines of code to the left

4. > # to shift the selected lines of code to the right.

Advertisements

From → Uncategorized

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: