I've been using the Terminal package to quickly open terminal from Sublime Text. Only problem is that it opens it to a new window in iTerm, not to a new tab.
Is there a way to force it to open to a new tab?
From the docs:
With the parameters argument to the open_terminal and open_terminal_project_folder commands, it is possible to construct custom terminal environments.
Can I somehow use the "parameters" in the setting to accomplish this?
Here's the default settings:
{
// The command to execute for the terminal, leave blank for the OS default
// On OS X the terminal can be set to iTerm.sh to execute iTerm
"terminal": "iTerm.sh",
// A list of default parameters to pass to the terminal, this can be
// overridden by passing the "parameters" key with a list value to the args
// dict when calling the "open_terminal" or "open_terminal_project_folder"
// commands
"parameters": []
}
Edit the iTerm.sh in Packages/Terminal folder
it works for me