Skip to content

Instantly share code, notes, and snippets.

@Mithrandir0x
Created February 15, 2014 12:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mithrandir0x/9018670 to your computer and use it in GitHub Desktop.
Save Mithrandir0x/9018670 to your computer and use it in GitHub Desktop.
Key-binding to open a SublimeREPL page to an open Vagrant VM
{
"keys": ["ctrl+f7"],
"command": "repl_open",
"args":
{
"type": "subprocess",
"encoding":
{
"windows": "utf-8",
"linux": "utf-8",
"osx": "utf-8"
},
"cmd":
{
"windows": ["plink", "-P", "2222", "vagrant:vagrant@127.0.0.1", "-pw", "vagrant"],
"linux": ["bash", "-i"],
"osx": ["bash", "-i"]
},
"cwd": "$file_path",
"cmd_postfix": "\n",
"env": {},
"suppress_echo": true,
"external_id": "vagrantssh",
"syntax": "Packages/Text/Plain text.tmLanguage"
}
}
@Mithrandir0x
Copy link
Author

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