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

4571Re: Vim with "Open With"

Expand Messages
  • Niklas Lindström
    Jul 31, 2007
      Hi all!

      Ted, that looks quite convenient; thanks.

      However, my main problem with gvim.app and the like is that they
      expect Vim.app to reside directly in /Applications. I prefer to have
      subfolders there for different stuff (mainly to separate added apps
      from ones coming with OS X - when possible). What I do do, which the
      regular use case also implies, is have gvim.app and Vim.app in the
      same folder. Therefore I'd recommend that any launch scripts expect
      only that. A crude example (also sourcing .profile) of how to achieve
      that is at:


      . There may be better ways.

      Best regards,

      On 7/31/07, Ted Pavlic <ted@...> wrote:
      > I've put together a new gvim.app that does a better job at this. Check out:
      > http://links.tedpavlic.com/zip/gvim-login-and-open-with.app.zip
      > I've included lots of different file types and made icons for them that
      > you'll see if you set gvim as the default handler for the file type.
      > If you don't see the "Open With", you should try some of the
      > instructions from #4 from:
      > http://macvim.org/OSX/index.php#FAQ
      > In particular, try moving the gvim.app out of /Applications and then
      > back again. Also try doing "Open Contents" on gvim.app and then clicking
      > "Contents" and "Resources." Also try doing a "Get Info" on gvim.app.
      > And, finally, restart your Finder (which can be done by logging out and
      > logging back in).
      > I did all of this today, and now I see "gvim" in my "Open With" menu
      > nearly everywhere I see "TextMate" (because TextMate's Info.plist was my
      > inspiration).
      > NOTE: gvim.app is designed to open up each file in a new window rather
      > than using the currently open Vim. If you'd like the existing Vim to
      > handle the new file, you can make similar changes to Vim.app's
      > Info.plist file.
      > --Ted
      > Ron Olson wrote:
      > > Hi all-
      > >
      > > No matter how I try, I can't seem to get Vim registered in such a way so
      > > that if I right-click on a file, it shows up in the "Open With" menu
      > > item. Is there any known specific way to make this work?
      > >
      > > Thanks,
      > >
      > > Ron
      > >
      > > >
      > --
      > Ted Pavlic <ted@...>
      > >

      You received this message from the "vim_mac" maillist.
      For more information, visit http://www.vim.org/maillist.php
    • Show all 14 messages in this topic