Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion shiftround option
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
John Beckett  
View profile  
 More options Nov 17 2012, 6:30 pm
From: "John Beckett" <johnb.beck...@gmail.com>
Date: Sun, 18 Nov 2012 10:30:33 +1100
Local: Sat, Nov 17 2012 6:30 pm
Subject: RE: shiftround option

rail shafigulin wrote:
> I'm still no quite clear. So when I set shiftround it moves
> the code by the length of shiftwidth-1 when I use the >> or << ?

The way to think of it is this:

If you have ":set noshiftround", after adjusting an indent you
may find that the indents are NOT aligned at the "standard"
positions. The standard positions are those you would get
after indenting text that originally had no indent.

If you have ":set shiftround", after adjusting an indent, the
indent will be aligned at a standard position (the indent is
rounded to a multiple of the 'shiftwidth' option).

John


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.