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

132021Re: Treat spaces as tabs only at the start of the line

Expand Messages
  • Gerardo Marset
    Jul 1, 2012
    • 0 Attachment
      On Sunday, July 1, 2012 8:34:36 AM UTC-3, JohnBeckett wrote:
      > Gerardo Marset wrote:
      > > I have sofftabstop (and shiftwidth) set to 4, and expandtab
      > > enabled. Thus, when deleting groups of spaces, vim treats
      > > them as tabs and deletes them 4 at a time. I want vim to do
      > > that only if from the start of the line and up to the
      > > cursor's position there's only spaces and nothing else.
      >
      > I'm not sure exactly what the issue is, but are you aware that
      > in insert mode you can press Ctrl-D to unindent the current line
      > (remove one level of shiftwidth)? Does that help?
      >
      > I recently cleaned this up, although I don't think it helps
      > your problem:
      > http://vim.wikia.com/wiki/Shifting_blocks_visually
      >
      > John

      No, that doesn't help. Thanks anyway.

      --
      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 7 messages in this topic