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

Re: [vimdev] netrw problems

Expand Messages
  • Flemming Madsen
    ... I have had success with a construction like: let AltBuf = bufnr(@#) if AltBuf = 0 | execute buffer .AltBuf | endif execute edit .File when jumping
    Message 1 of 3 , Aug 5, 2003
    • 0 Attachment
      >
      >>3. After a file loads (for example rsync://kaf/proj/xxdriver/xx.c), if I
      >> hit ctrl-6 to access the previous file, it jumps to a file in /tmp.
      >> I realize that I'm tripping on the inner workings of netrw, but it's
      >> not expected behavior...
      >
      >
      > Not sure what to do about this one.
      >

      I have had success with a construction like:

      let AltBuf = bufnr(@#)
      if AltBuf >= 0 | execute "buffer ".AltBuf | endif
      execute "edit ".File

      when jumping from a temporary file to the one to actually show.

      wkr /Flemming
    Your message has been successfully submitted and would be delivered to recipients shortly.