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

Re: settabwinvar/settabvar move back cursor while insert mode.

Expand Messages
  • Bram Moolenaar
    ... Thanks, I ll check it out later. -- Some of the well known MS-Windows errors: ETIME Wrong time, wait a little while ECRASH Try again... EDETECT Unable
    Message 1 of 2 , Dec 25, 2012
    • 0 Attachment
      Yasuhiro Matsumoto wrote:

      > Hi list.
      >
      > ------------------
      > tabnew
      > autocmd InsertEnter * call settabvar(1, 'foo', 0)
      > put ='foo!'
      > call feedkeys('A', 't')
      > ------------------
      >
      > When :source above code, cursor should be end of the line, i.e. next of !.
      > but it move back to last `o`. Below is a patch, please check.
      >
      > https://gist.github.com/4333634

      Thanks, I'll check it out later.


      --
      Some of the well known MS-Windows errors:
      ETIME Wrong time, wait a little while
      ECRASH Try again...
      EDETECT Unable to detect errors
      EOVER You lost! Play another game?
      ENOCLUE Eh, what did you want?

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