Workflows for Alfred 2.
Run a Terminal command in your currently open Finder directory by using keyword cdh
and the Terminal command you want to run: "cdh [your command]". If you don't supply a command, the Terminal will cd into your currently open Finder directory.
If there is no folder currently open in Finder, your command will be run in your Desktop folder.
The workflow will by default execute your command in the first non-busy Terminal window it finds, otherwise open a new one.
Update March-17-2013
Added option: To explicitly run the command in a new Terminal window, press [alt] when firing your command in Alfred 2.
Create a Compass project and watch it immediately. Runs either as a file/folder action or by using keyword ccw
in your currently open Finder directory. Requires Compass to be installed.
Open files or folders in Chocolat by using a Keyword choc
or by file/folder action.
Update September-26-2013
File fiter choc*
+ file or folder name. Action an item in the results to open it in Chocolat.
Update June-5-2013
Expand tilde shortcut ~/
if user enters an optional path.
Update June-2-2013
Change keyword to choc
.
Open files or folders in Sublime Text 2 by using a Keyword subl
or by file/folder action.
Update September-26-2013
File fiter subl*
+ file or folder name. Action an item in the results to open it in Sublime Text 2.
Update June-5-2013
Expand tilde shortcut ~/
if user enters an optional path.
Update June-2-2013
Change keyword to subl
.
Open files or folders in Sublime Text v3 by using a Keyword subl
or by file/folder action.
Expand tilde shortcut ~/
if user enters an optional path.
Update September-26-2013
File fiter subl*
+ file or folder name. Action an item in the results to open it in Sublime Text (v3).
Note:
Both Open-With-Sublime-Text Workflows come with subl
, Sublime's CL Tool name, as their keyword. If you plan using both versions of Sublime as well as both Workflows in parallel, it might be a good idea to change the keyword of one of the workflows to subl2
or subl3
respectively – or whatever else you prefer.
Open files or folders in TextMate 2 by using a Keyword mate
or by file/folder action.
Update September-26-2013
File fiter mate*
+ file or folder name. Action an item in the results to open it in TextMate 2.
Update June-5-2013
Expand tilde shortcut ~/
if user enters an optional path.
Update June-2-2013
Change keyword to mate
.
Open current Finder files or folders in Brackets by using a Keyword brackets
or by file/folder action. You can optionally enter a path to open: brackets ~/your/path/here
. Search for files or folders to open using brackets* filename
.
Open current Finder files or folders in Emacs by using a Keyword emacs
or by file/folder action. You can optionally enter a path to open: emacs ~/your/path/here
. Search for files or folders to open using emacs* filename
.
Open current Finder files or folders in Atom by using a Keyword atom
or by file/folder action. You can optionally enter a path to open: atom ~/your/path/here
. Search for files or folders to open using atom* filename
.
Open current Finder files or folders in CodeRunner by using a Keyword crun
or by file/folder action. You can optionally enter a path to open: crun ~/your/path/here
. Search for files or folders to open using crun* filename
.
Open current Finder files or folders in MacVim by using a Keyword mvim
or by file/folder action. You can optionally enter a path to open: mvim ~/your/path/here
. Search for files or folders to open using mvim* filename
.
Open current Finder files or folders in Visual Studio Code by using a Keyword vscode
or by file/folder action. You can optionally enter a path to open: vscode ~/your/path/here
. Search for files or folders to open using vscode* filename
.
Open current Finder files or folders in IntelliJ IDEA by using a Keyword idea
or by file/folder action. You can optionally enter a path to open: idea ~/your/path/here
. Search for files or folders to open using idea* filename
.
Copyright (c) 2013 - 2015 Franz Heidl
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.