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

Re: 'set confirm' and quitting when there are more files to edit

Expand Messages
  • Bram Moolenaar
    ... It would also be nice to have [L]ast file . Oh, and [P]revious file , while we are at it. And [S]plit to see all files , of course. The point is: I
    Message 1 of 2 , Sep 8, 2003
    • 0 Attachment
      Yakov Lerner wrote:

      > With 'set confirm', when editing 2 files and quitting
      > when on 1st file, the confirmation menu looks like this:
      >
      > vim a b
      > ZZ
      > 1 more file to edit. Quit anyway?
      > [Y]es, (N)o:
      >
      > It'd be more convenient if the menu had additional 3rd choice,
      > the 'next file' choice. I'd rather make the menu look like this:
      >
      > 1 more file to edit.
      > [Q]uit anyway, [C]ancel, [N]ext file ?

      It would also be nice to have "[L]ast file". Oh, and "[P]revious file",
      while we are at it. And "[S]plit to see all files", of course.

      The point is: I don't know what the user wants to do with the other
      files.

      > Is it possible to have some timeout for 'set confirm', so
      > that if user doesn't press anything, vim just goes for
      > the default choice ?

      No.

      --
      Yesterday is history.
      Tomorrow is a mystery.
      Today is a gift.
      That's why it is called 'present'.

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
      \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
      \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///
    Your message has been successfully submitted and would be delivered to recipients shortly.