Skip to content

Instantly share code, notes, and snippets.

@squm
Created January 10, 2017 11:03
Show Gist options
  • Save squm/f0bce6d39a0236518e6e3066d21fae63 to your computer and use it in GitHub Desktop.
Save squm/f0bce6d39a0236518e6e3066d21fae63 to your computer and use it in GitHub Desktop.
do shell script "open -n -a \"MacVim\""
(*
run script "tell application \"MacVim\" to open \"/\""
*)
(*
do shell script "echo 1 | open -f -g -a MacVim"
*)
(*
do shell script "eval `/usr/libexec/path_helper -s`; /bin/bash --init-file ~/.profile; /usr/bin/env /usr/local/bin/mvim &> /dev/null &"
*)
(*
tell application "MacVim"
open "/new"
set frontmost to true
activate
end tell
*)
@squm
Copy link
Author

squm commented Jan 10, 2017

tell application "Terminal"
	do script "gvim; exit"
end tell

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment