Re: shiftround option

2012-11-17 Thread rail shafigulin
On Sat, Nov 17, 2012 at 6:30 PM, John Beckett wrote: > 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 adjustin

RE: shiftround option

2012-11-17 Thread John Beckett
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 "

Re: shiftround option

2012-11-17 Thread Marcin Szamotulski
On 17:42 Sat 17 Nov , rail shafigulin wrote: > On Sat, Nov 17, 2012 at 4:16 PM, Christian Brabandt wrote: > > > Hi rail! > > (please don't top poste) > > > > On Sa, 17 Nov 2012, rail shafigulin wrote: > > > > > I'm still no quite clear. So when I set shiftround it moves the code by > > the > >

Re: shiftround option

2012-11-17 Thread rail shafigulin
On Sat, Nov 17, 2012 at 4:16 PM, Christian Brabandt wrote: > Hi rail! > (please don't top poste) > > On Sa, 17 Nov 2012, 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 << ? > > No, if it is

Re: shiftround option

2012-11-17 Thread Christian Brabandt
Hi rail! (please don't top poste) On Sa, 17 Nov 2012, 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 << ? No, if it is set, it moves it to the next multiple value of shiftwidth, while when it is

Re: shiftround option

2012-11-17 Thread rail shafigulin
earning Vim the hardway, and it talks about > the shiftround option. I tried it but it didn't affect anything. The effect > was the same as before. I tried reading the help but it wasn't very helpful > :) Has anybody used this option before? What is the advantage of it? Wh

Re: shiftround option

2012-11-17 Thread Marcin Szamotulski
On 05:44 Sat 17 Nov , cyboman wrote: > I'm reading an online book, Learning Vim the hardway, and it talks about the > shiftround option. I tried it but it didn't affect anything. The effect was > the same as before. I tried reading the help but it wasn't very helpfu

shiftround option

2012-11-17 Thread cyboman
I'm reading an online book, Learning Vim the hardway, and it talks about the shiftround option. I tried it but it didn't affect anything. The effect was the same as before. I tried reading the help but it wasn't very helpful :) Has anybody used this option before? What is the