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

38550Re: Delay when Insert mode is left

Expand Messages
  • Bram Moolenaar
    Jan 10, 2005
    • 0 Attachment
      Jends Paulus wrote:

      > Let me ask a little question. When being in command line I am looking
      > for a way to figure out if the command line has been entered from Visual
      > mode or from Normal mode. Neither visualmode() nor mode() help because
      > the first one is for something else and the second one does not react
      > how I want it.

      You need to use another method. For example by using ":vmap" or
      invoking mode() before leaving Visual mode.

      TALL KNIGHT: We shall say Ni! again to you if you do not appease us.
      ARTHUR: All right! What do you want?
      TALL KNIGHT: We want ... a shrubbery!
      "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
      \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
      \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
    • Show all 14 messages in this topic