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

134564RE: shiftround option

Expand Messages
  • John Beckett
    Nov 17, 2012
    • 0 Attachment
      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).


      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