Skip to content

Instantly share code, notes, and snippets.

@tammersaleh
Created July 14, 2010 18:35
Show Gist options
  • Save tammersaleh/475812 to your computer and use it in GitHub Desktop.
Save tammersaleh/475812 to your computer and use it in GitHub Desktop.
#!/bin/bash
if [ $# == 0 ]; then
mvim
else
mvim --servername $(basename $(pwd)) --remote-tab-silent "$@" 1>/dev/null 2>&1
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment