hi

when I shift a block of perl code to the right (in visual mode with '>'
or with '>>' in normal mode), all the comments at the start of the line
stay where they are. As soon as I insert a whitespace at the start of
line, the comments are shifted with the code.

Shifting
># Let's print foo
>print $foo
results in
># Let's print foo
>   print $foo
whereas shifting
> # Let's print foo
results in
>    # Let's print foo
>   print $foo

How can I change this behaviour to "always shift comments like code"?

thanks,
kba

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to