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

68621Re: Issue 118 in vim: `cib` doesn't work at the start of a line, while `ci'` does

Expand Messages
  • vim@...
    Mar 8, 2013
    • 0 Attachment
      Comment #1 on issue 118 by fritzoph...@...: `cib` doesn't work at the
      start of a line, while `ci'` does

      This is intentional. It's no just about multiple lines, it's about nesting.

      1. if (
      2. a &&
      3. (b || c) &&
      4. d)

      If you place the cursor at the beginning of line 3, vab will select text on
      all four lines, because the cursor is immediately inside the parenthesis
      block starting at line 1 and ending at line 4. If your suggestion is
      implemented, only "(b || c)" on line 3 would be selected. This would break
      things in annoying and unexpected ways for things like =ab in C code.

      You received this message because this project is configured to send all
      issue notifications to this address.
      You may adjust your notification preferences at:

      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

      You received this message because you are subscribed to the Google Groups "vim_dev" group.
      To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
    • Show all 4 messages in this topic