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

Re: MacVim through MacPorts problems

Expand Messages
  • guivho
    My original post was about two problems: 1) MacPorts ignored what was already installed 2) I had two vims, and the original complained about missing features
    Message 1 of 6 , Dec 14, 2010
    • 0 Attachment
      My original post was about two problems:
      1) MacPorts ignored what was already installed
      2) I had two vims, and the original complained about missing features
      triggered trough my .vimrc

      Both these problems are solved and I'd like to share my current setup.
      For starters, I have removed the MacPorts version of MacVim. I then
      installed MacVim from http://code.google.com/p/macvim/ which of course
      still left me with two different vims.

      I symlinked /usr/bin/vim to /opt/local/bin/vim to solve that problem.
      (note that ':h macvim-start' refers to /usr/local/bin/mvim, where my
      original mvim is in /opt/local/bin)

      I added a 'wait' clause the mvim script to be able to create a gwait
      symlink and specify that as editor for e.g. the "it's all text"
      extension which I use in FireFox to edit my gmail:

      % diff -u /opt/local/bin/mvim.orig ./mymvim
      --- /opt/local/bin/mvim.orig 2010-11-30 18:31:26.000000000 +0100
      +++ ./mymvim 2010-12-14 13:54:55.000000000 +0100
      @@ -52,6 +52,9 @@
      *view)
      opts="$opts -R"
      ;;
      + *wait)
      + opts="$opts -f"
      + ;;
      *ex)
      opts="$opts -e"
      ;;

      I think that this should be in the default mvim file (ignore the file
      dates on the diff output, they're not correct)

      Being a keyboard maniac, I have v, view, vim, vimdiff, g, gview,
      gviewdiff, gvim, gvimdiff as well as gwait symlinks that all link to
      the same mymvim (i.e. original mvim edited cfr supra)

      This setup is quite satisfactory, and maybe it does inspire others.

      Guivho

      --
      You received this message from the "vim_mac" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php
    Your message has been successfully submitted and would be delivered to recipients shortly.