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

Patch 5.6.072

Expand Messages
  • Bram Moolenaar
    Patch 5.6.072 Problem: When starting Vim with vim +startinsert , it enters Insert mode only after typing the first command. (Andrew Pimlott) Solution:
    Message 1 of 1 , May 9, 2000
    • 0 Attachment
      Patch 5.6.072
      Problem: When starting Vim with "vim +startinsert", it enters Insert mode
      only after typing the first command. (Andrew Pimlott)
      Solution: Insert a dummy command in the stuff buffer.
      Files: src/main.c


      *** ../vim-5.6.71/src/main.c Fri Mar 31 14:23:11 2000
      --- src/main.c Tue May 9 20:57:12 2000
      ***************
      *** 1452,1457 ****
      --- 1452,1462 ----
      mch_set_winsize_now(); /* Allow winsize changes from now on */
      #endif

      + /* If ":startinsert" command used, stuff a dummy command to be able to
      + * call normal_cmd(), which will then start Insert mode. */
      + if (restart_edit)
      + stuffReadbuff((char_u *)"\034\016");
      +
      /*
      * main command loop
      */
      *** ../vim-5.6.71/src/version.c Tue May 9 17:51:49 2000
      --- src/version.c Tue May 9 20:59:27 2000
      ***************
      *** 420,421 ****
      --- 420,423 ----
      { /* Add new patch number below this line */
      + /**/
      + 72,
      /**/

      --
      ARTHUR: Right! Knights! Forward!
      ARTHUR leads a charge toward the castle. Various shots of them battling on,
      despite being hit by a variety of farm animals.
      "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

      /-/-- Bram Moolenaar --- Bram@... --- http://www.moolenaar.net --\-\
      \-\-- Vim: http://www.vim.org ---- ICCF Holland: http://www.vim.org/iccf --/-/
    Your message has been successfully submitted and would be delivered to recipients shortly.