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

66812Re: Feature Request: A special value for softtabstop that makes it equal to tabstop

Expand Messages
  • Ben Fritz
    Oct 16, 2012
    • 0 Attachment
      On Tuesday, October 16, 2012 7:04:49 PM UTC-5, Gary Johnson wrote:
      > I know we want to avoid option bloat, but I really hate "special"
      > values, especially ones as non-obvious as these.
      >
      > How about instead a new boolean option, 'tabbind'? When off,
      > 'shiftwidth', 'tabstop' and 'softtabstop' are all independent. When
      > on, all those values are set to that of the last one set.
      >

      I think having too many options is better than having too few with special overloaded behaviors. That is just my preference though.

      > For example, if 'tabbind' is on when the user sets 'tabstop', both
      > 'shiftwidth' and 'softtabstop' are also set to the new value of
      > 'tabstop'. The user doesn't have to remember what "-1" means or
      > which option needs to be set last to affect the others.
      >

      I like this idea very much.

      --
      You received this message from the "vim_dev" 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 16 messages in this topic