Loading ...
Sorry, an error occurred while loading the content.

134560Re: shiftround option

Expand Messages
  • Christian Brabandt
    Nov 17, 2012
    • 0 Attachment
      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 not set, it simply moves by shiftwidth chars.

      Here is an example:
      If your shiftwidth value is 4 and your input starts at cell 3 indenting
      using >> would move the text to cell 5 if shiftround is set, while it
      moves your text to cell 7 when shiftround is not set.

      Den (inländischen) Ruhm großer Minister, Feldherrn, Fürsten stürzt
      eine einzige Staatsumwälzung oder Eroberung.
      -- Jean Paul

      You received this message from the "vim_use" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php
    • Show all 8 messages in this topic