Op vrijdag 13 april 2007, schreef shawn bright:
> lo there,

Hi

> i am using visual mode and <shift> >> to indent a block of code.
> the problem i am having is that once i do this, the visual mode is
> gone. So, i have to re-select everything and do it again. Is there a
> command to repeat the last shift ?

Sure, just use '.'

> or better yet, is there a better way to shift code right and left ? i
> develop in python, which is white-space sensitive, so this is a
> rather big deal for me to get right.

  >> or > in visual mode shifts right
  << or < in visual mode shifts left

And, by the way, you can re-select your previous visual selection 
with 'gv'


Peter

Reply via email to