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

Re: two questions about tabs

Expand Messages
  • Nico Weber
    ... How about a FileDropped autocommand that is executed when the file is dropped? (and if it isn t set, the current behaviour is executed) Alternatively,
    Message 1 of 2 , Feb 29, 2008
    • 0 Attachment
      > This has been asked several times. Currently I don't think there is
      > a built-in way to do this.
      >
      > When you drag and drop files into Vim, the files are opened as if
      > the ":drop" command was executed.
      >
      > The ":drop" command supports the "tab" modifier, which opens the
      > files in tabs. But there is no way to specify the "tab" modifier when
      > dragging and dropping files into Vim.
      >
      > You can press Ctrl while dropping files into Vim to open the files in
      > split windows. May be we can add that if you press Alt and drop
      > the files, then the files will be opened in tabs?

      How about a FileDropped autocommand that is executed when the file is
      dropped? (and if it isn't set, the current behaviour is executed)

      Alternatively, dropping a file on the tab bar could open the file in a
      new tab.

      Alt-drop is not very discoverable imho.

      Nico

      --~--~---------~--~----~------------~-------~--~----~
      You received this message from the "vim_dev" maillist.
      For more information, visit http://www.vim.org/maillist.php
      -~----------~----~----~----~------~----~------~--~---
    Your message has been successfully submitted and would be delivered to recipients shortly.