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

Re: Behaviour of :normal in operator-pending mode is not defined

Expand Messages
  • Bram Moolenaar
    ... Thanks! -- hundred-and-one symptoms of being an internet addict: 29. Your phone bill comes to your doorstep in a box. /// Bram Moolenaar --
    Message 1 of 4 , Mar 7, 2013
    • 0 Attachment
      David B├╝rgin wrote:

      > I see. I was thinking about it the wrong way then.
      >
      > On Thursday, March 7, 2013 5:35:24 PM UTC+1, Ben Fritz wrote:
      > > > gUe suMMER
      > > > :norm! gUe<CR> suMMER
      > > > gU:norm! e<CR> suMMEr
      > >
      > > I'm not sure if this is documented (I couldn't find it mentioned
      > > explicitly) but if I recall correctly, any : command in operator-pending
      > > mode acts as an exclusive motion.
      >
      > Yes, I did see that in the code for the colon command at normal.c#5398:
      >
      > if (cap->oap->op_type != OP_NOP)
      > {
      > /* Using ":" as a movement is characterwise exclusive. */
      > cap->oap->motion_type = MCHAR;
      > cap->oap->inclusive = FALSE;
      > }
      >
      > I added a note in the documentation and removed a now invalid item from
      > the todo list.

      Thanks!

      --
      hundred-and-one symptoms of being an internet addict:
      29. Your phone bill comes to your doorstep in a box.

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
      \\\ an exciting new programming language -- http://www.Zimbu.org ///
      \\\ help me help AIDS victims -- http://ICCF-Holland.org ///

      --
      --
      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.
    Your message has been successfully submitted and would be delivered to recipients shortly.