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: |
|
---|
Provides helper functions for Mail.app.
qslaunch.execute() helper for cmd_color_selected_msgs().
See cmd_color_selected_msgs() for usage.
Change the background color of the selected messages in Mail.app.
Parameter: | color – color name. The list is restricted to: ‘blue’, ‘gray’, ‘green’, ‘none’, ‘orange’, ‘purple’, ‘red’, ‘yellow’ |
---|
Example:
...
(r'^colormail-(?P<color>.*)$', mail.color_selected_msgs()),
...
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 |
---|