Skip to content
Tags

,

continuous indentation in vim

April 18, 2012

In the visual mode, once you select a block of text and try to shift it using  <tab> or ‘>’ it deselects the text.

To continue shifting the same text use the ‘.’ key.  ‘.’ in this context means repeat the previous command in includes selecting the text.

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: