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

Re: Opening 2 files with common basename

Expand Messages
  • Benji Fisher
    ... and start by reading the part of the users manual linked from there. HTH --Benji Fisher
    Message 1 of 3 , Jun 25, 2003
    • 0 Attachment
      A.T. Hofkamp wrote:
      > Hello,
      >
      > After my syntax-highlighting experiments, it is time for another
      > vim-programming-project.
      >
      > This time, I'd like to open 2 files instead of 1 when editing in vim,
      > i.e. after entering ":e base", I'd like to obtain a gvim with a split,
      > containing "base.sdf" and "base.asf" (if they exist).
      >
      > It is like opening a .c and a .h file together at the same time.
      >
      >
      > Being a vim-programming-newbie, I have no clue how to implement
      > something like the above.
      > I briefly tried looking into the online help for a pointer in the right
      > direction, but :help multi and :help file didn't provide any useful
      > hooks at first sight.
      >
      > I'd appreciate pointers to useful pieces of the online help.
      >
      >
      >
      > PS I probably want ":e2 base" rather than ":e base" in order to preserve
      > the semantics of :e
      >
      > Albert

      :help user-commands

      and start by reading the part of the users' manual linked from there.

      HTH --Benji Fisher
    Your message has been successfully submitted and would be delivered to recipients shortly.