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

Re: MacVim through MacPorts problems

Expand Messages
  • Steven
    I use and contribute to Homebrew. I can confirm it works really well. Very active user base too. Constantly being updated. It s starting to hit those awkward
    Message 1 of 6 , Dec 13, 2010
      I use and contribute to Homebrew. I can confirm it works really well. Very active user base too. Constantly being updated.

      It's starting to hit those awkward teenage years though. I foresee growing pains in the near future.

      --
      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
    • björn
      ... Once you have installed MacVim.app inside /Applications (for example) you can start it without a GUI as follows $
      Message 2 of 6 , Dec 14, 2010
        On 16 November 2010 18:23, guivho <guivho@...> wrote:
        >
        > Until I tried to run a console version. That is a different vim all
        > together. And it does not understand ruby, perl, tcl etc...

        Once you have installed MacVim.app inside /Applications (for example)
        you can start it without a GUI as follows

        $ /Applications/MacVim.app/Contents/MacOS/Vim

        and to get the GUI you add the "-g" flag

        $ /Applications/MacVim.app/Contents/MacOS/Vim -g

        This seems to be what you are looking for? Read more about this in
        ":h macvim-start".

        Björn

        --
        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
      • 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 3 of 6 , Dec 14, 2010
          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.