How to launch a terminal which executes vim from a script?
Solution 1:
First create a wrapper script for vim
:
#! /bin/ksh
#
# vimwrapper
#
#
/usr/bin/vim
Make the script executable- chmod 755 vimwrapper
and call the script like this
open -a Terminal.app vimwrapper
Solution 2:
You can get something close by using the "New command" entry from the File menu (also accessible through Shift-Cmd-N) to run vim
in a dedicated tab/window.
You could also just run the GUI version of MacVim.