Provides helper functions for opening iTerm sessions.
itermlaunch.execute() helper for cmd_bookmark().
See cmd_bookmark() for usage.
itermlaunch.execute() helper for cmd_exec().
See cmd_shell_exec() for usage.
Create a new iTerm session in a new window or tab and launch the specified session in it.
| Parameters: |
|
|---|
If where='tab' and there are no windows, a new one is created.
If the cd parameter is a callable, the return value must be a string.
Create a new iTerm session in a new window or tab and execute the specified shell commande inside.
| Parameters: |
|
|---|
Provide useful shortcuts for TextMate.
Create a new TextMate window based on a specific template.
| Parameter: | args – The path to the template in the “File” menu. For example, new_from_template('Python', 'Python Script') |
|---|
Change TextMate’s theme.
| Parameter: | theme – Theme or None |
|---|
Note
If “theme” is None, be sure to define a “theme” backreference in the ereg!
Create a new TextMate window from a template.
| Parameter: | template_path – tuple/list representing the template. |
|---|
The tuple is the menu items under “New From Template”.
Example:
cmd_new_from_template(('Python', 'Python Script'))
Set the current theme using System Events.
| Parameter: | theme – Name of the theme |
|---|