Open a text file for editing with MacVIM in terminal








First, make sure you have installed MacVIM.

The following script can be used to open a text file with MacVIM:
#!/bin/sh
open -a MacVIM $@

You can save the script to /usr/local/bin/macvim:
sudo cp macvim /usr/local/bin
sudo chmod +x macvim



No comments:

Post a Comment