Skip to content

Instantly share code, notes, and snippets.

@epall
Created October 21, 2009 18:58
Show Gist options
  • Save epall/215348 to your computer and use it in GitHub Desktop.
Save epall/215348 to your computer and use it in GitHub Desktop.
# v: a simple script for intelligently launching MacVim
#!/bin/sh
open -a /Applications/Vim.app
while ! [ `/Applications/Vim.app/Contents/MacOS/Vim --serverlist 2>/dev/null` ] ; do true; done
/Applications/Vim.app/Contents/MacOS/Vim --remote-tab $@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment