On 6 Feb 2014, at 12:33, Andrew Stewart <[email protected]> wrote:
> On 6 Feb 2014, at 13:21, Federico Calboli <[email protected]> wrote: >> I want the Vim version shipped with MacVim to be the new default in terminal >> (as opposed to the Apple standard version). > [snip] >> In any case, when I type 'vim' in a terminal I want >> /Applications/MacVim.app/Contents/MacOS/Vim this, not the Apple one. How do >> I do that? > > > Assuming mvim (included in the MacVim download) is on your path: > > alias vim='mvim -v' > > Also I do this: > > export EDITOR='/Applications/MacVim.app/Contents/MacOS/Vim' Thank. I presume both are to be put in my ~/.bashrc? Incidentally, why is a brutal symlink a bad way of doing this? BW F
signature.asc
Description: Message signed with OpenPGP using GPGMail
