Jump to content

Search the Community

Showing results for tags 'Sublime Text'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Alfred 3
  • Make the Most of Alfred
    • Discussion & Help
    • Bug Reports
    • Alfred Feature Suggestions
    • Themes
  • Alfred Workflows
    • Share your Workflows
    • Workflow Help & Questions
  • Alfred v2 Themes
  • Alfred Remote for iOS
    • Alfred Remote Discussion & Help
    • Remote Connection Troubleshooting

Categories

  • Articles
    • Forum Integration
    • Frontpage
  • Pages
  • Miscellaneous
    • Databases
    • Templates
    • Media

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Twitter


Website URL


Jabber


Location


Interests

Found 13 results

  1. Alfred Git Repos Workflow Browse, search and open Git repositories from within Alfred. Download Get the workflow from GitHub or Packal. Usage This workflow requires some configuration before use. See Configuration for details. repos [<query>] — Show a list of your Git repos filtered by <query> ↩ — Open selected repo in app_1 (see configuration) ⌘+↩ — Open selected repo in app_2 (see configuration) ⌥+↩ — Open selected repo in app_3 (requires configuration) ^+↩ — Open selected repo in app_4 (requires configuration) ⇧+↩ — Open selected repo in app_5 (requires configuration) fn+↩ — Open selected repo in app_6 (requires configuration) reposettings — Open settings.json in default JSON editor reposupdate — Force workflow to update its cached list of repositories. (By default, the list will only be updated every 3 hours.) reposhelp — Open this file in your browser Configuration Before you can use this workflow, you have to configure one or more folders in which the workflow should search for Git repos. The workflow uses find to search for .git directories, so you shouldn't add huge directory trees to it, and use the depth option to restrict the search depth. Typically, a depth of 2 will be what you want (i.e. search within subdirectories of specified directory, but no lower). Add directories to search to the search_dir array in settings.json (see below). The default settings.json file looks like this: { "app_1": "Finder", // ↩ to open in this/these app(s) "app_2": "Terminal", // ⌘+↩ to open in this/these app(s) "app_3": null, // ⌥+↩ to open in this/these app(s) "app_4": null, // ^+↩ to open in this/these app(s) "app_5": null, // ⇧+↩ to open in this/these app(s) "app_6": null, // fn+↩ to open in this/these app(s) "global_exclude_patterns": [], // Exclude from all searches "search_dirs": [ { "path": "~/delete/this/example", // Path to search. ~/ is expanded "depth": 2, // Search subdirs of `path` "name_for_parent": 1, // Name Alfred entry after parent of `.git`. 2 = grandparent of `.git` etc. "excludes": [ // Excludes specific to this path "tmp", // Directories named `tmp` "bad/smell/*" // Subdirs of `bad/smell` directory ] } ] } This is my settings.json: { "app_1": "Finder", "app_2": ["Finder", "Sublime Text", "SourceTree", "iTerm"], "app_3": "Sublime Text", "app_4": "SourceTree", "app_5": "iTerm", "app_6": "GitHub", "global_exclude_patterns": [], "search_dirs": [ { "path": "~/Code" }, { "path": "~/Sites" } ] } Search Directories Each entry in the search_dirs list must be a mapping. Only path is required. depth will default to 2 if not specified. excludes are globbing patterns, like in .gitignore. name_for_parent defaults to 1, which means the entry in Alfred's results should be named after the directory containing the .git directory. If you want Alfred to show the name of the grandparent, set name_for_parent to 2 etc. This is useful if your projects are structured, for example, like this and src is the actual repo: Code Project_1 src other_stuff Project_2 src other_stuff … … Open in Applications The applications specified by the app_N options are all called using open -a AppName path/to/directory. You can configure any application that can open a directory in this manner. Some recommendations are Sublime Text, SourceTree, GitHub or iTerm. Note: As you can see from my settings.json, you can also set an app_N value to a list of applications to open the selected repo in more than one app at once: … "app_2": ["Finder", "Sublime Text", "SourceTree", "iTerm"], … You can also use → on a result to access Alfred's default File Actions menu. License, Thanks This workflow is released under the MIT Licence. It uses the Alfred-Workflow and docopt libraries (both MIT Licence). The icon is by Jason Long, from git-scm.com, released under the Creative Commons Attribution 3.0 Unported Licence.
  2. Sublime Text Projects Filter and open your Sublime Text (2 and 3) project files. It can be tricky getting .sublime-project files to work with File Filters, as Sublime Text doesn't register the extension as a proper filetype. This workflow solves that problem. It can easily be duplicated and adapted to other filetypes with the same problem. Note: The new version (2014-06-16) also finds files in hidden directories (with a little configuration). Installation Download the workflow from GitHub or Packal. Usage .st [<query>] — List/filter your .sublime-project files ↩ — Open result in Sublime Text ⌘+↩ — Reveal file in Finder .stconfig — Show the current settings .sthelp — View the included help file Note: You can currently only alter the settings by editing the settings.json file by hand. Hit ↩ on the Edit Configuration item to open it in your default JSON editor. Licensing, thanks All the code is released under the MIT Licence. The icons are by dmatarazzo. Changelog 2014-06-16 Add ability to search in hidden directories and other directories excluded from Spotlight's index Add ability to filter out certain results (via globbing patterns) Add ability to get your hands dirty editing the JSON config file
  3. I will normally have a lot of different sublime windows open. The problem is if I type in "sublime" it will open the existing window instead of a new blank window. How do I modify the current workflow to set the default as "open new sublime window" instead of just opening sublime text. Or is it better for me to just create a new workflow so when I type in sublime text (in default) it will open a new blank sublime text window . when holding command it will open the existing sublime window. What do you guys think?? How do I make it???
  4. ichitaro

    grep workflow

    This searches for lines matching a regular expression like the grep command. You can install this workflow by downloading the .alfredworkflow file from: https://github.com/ichitaro/alfred-grep Notes: Input files are supposed to be encoded in UTF-8. For performance reasons, please consider using Alfred's File Buffer to reduce search scope, instead of passing a large directory tree to the file action.
  5. I'm using the sublime project workflow with alfred, which uses mdfind to locate .sublime-project files on my system and open them in sublime text. Very slick! However - if the .sublime-project file is stored in a hidden directory (in this case .config/) it is not indexed by spotlight and therefore cannot be located with this workflow. I'm hoping there is a way to force spotlight to index specific hidden folders, or some other workaround. Any ideas?
  6. Just updated my Open With Sublime Text 2 Workflow (that was long hidden away here) by merging in a pull request from dbingham that improved stability and handling of multiple files. The workflow works either by keyword ("subl") on your currently selected Finder items or as a file/folder action. Download: http://cl.ly/PW75 Github: https://github.com/franzheidl/alfred-workflows
  7. Hi everybody, I've updated my Sublime Text workflow; now you can find and open all your Sublime Text projects with the simple "sub" command. This update is compatible with both Sublime Text 2 and 3. Here the github repository: https://github.com/BigLuck/alfred2-sublimeprojects And the .alfredworkflow direct download link: https://github.com/BigLuck/alfred2-sublimeprojects/raw/master/Sublime%20Text%20Projects.alfredworkflow
  8. jvdneut

    Menu bar search

    Hi, I've created a basic workflow that searches the system's menu bar. After having used Sublime Text's command palette I wanted to have a similar system-wide functionality. EDIT: For people that haven't worked with Sublime Text's command palette: the command palette allows you to fuzzy search the entire application menu by keyboard. This saves both time on hunting down the right menu and saves you having to remember all sorts of keyboard shortcuts. For a brief introduction on Sublime Text's command palette see https://tutsplus.com/lesson/the-command-palette/ EDIT: Better use ctwise's "2.0" workflow http://www.alfredforum.com/topic/1993-menu-search/ [old download is still available at http://dl.dropbox.com/u/6259900/Menu%20bar%20search.alfredworkflow] The current workflow does not do any fuzzy searching and every keystroke executes the entire script again. My preferred fix to this would be to have a script input that is only executed once, and have Alfred do the subsequent fuzzy matching based on the initial result. Jeroen van der Neut @jvdneut
  9. Hey guys! I'm pretty new to Alfred in terms of developing workflows. I have done a couple but nothing notable. The idea is I am trying to display what is in my root folder, which is where I house all the folders I use for development. Then whichever one I selected would open in Sublime Text (ST3). I thought I could get something from this recent downloads workflow because it displays the downloads folder in alfred, but I don't know ruby. If I could display the root folder like this and then whichever one I selected would open in ST3 that would be great. I also thought this Open in Sublime Text workflow would help but I don't know AppleScript either. I do have some experience with PHP however. Any help would be awesome!
  10. Monokai - http://cl.ly/3d1g1k3N3I1u Monokai Blue - http://cl.ly/3l1U0k332Q3X The themes are based on Monokai for Alfred by Idea4IT.
  11. I've been using Jeffrey Way's Alfred workflow/bash script to quickly set up a web development enviroment, setting up folders, pulling in jQuery, then opening the project in Sublime Text and Chrome. However I'd really like to be able to append Codekit onto this workflow, so the project is added and folder monitored. I tried "/Applications/CodeKit.app/Contents/MacOS/CodeKit ." but it just opens multiple copies of Codekit without adding the project. I managed to get it to add via Applescript but then it doesn't work with the rest of the script. Any ideas on how to make this work? P.S. This question is related to Codekit but any suggestions to how this Web Dev Workflow could be made more awesome are welcome!
  12. Cobalt 2 theme for Alfred 1 and 2 Super great theme for Alfred. Based on the Cobalt2 theme for Sublime Text. Download at https://github.com/wesbos/Cobalt2-Alfred-Theme To install, download Cobalt2-alfred1.x.alfredtheme for alfred 1.x or Cobalt2-alfred2.x.alfredappearance for alfred 2.x and double click. Alfred will automatically install it for you.
  13. Hey, I wanted to create a workflow that would allow me to see all of my project files in a single directory. Similar to how CMD+CTRL+P works in Sublime Text 2. I also wanted to be able to search through those items. So I borrowed the core of the "Google Auto Complete" workflow from David Ferguson (A Few Alfred 2 Workflows to Get You Started), and repurposed it for my needs. I'm not great at PHP, so I'm betting that there might be a better way. I also like the idea of bucketing apps into workflows, so I also included the work done by phillistein (http://www.alfredforum.com/index.php?/topic/39-open-in-sublime-and-search-sublime-projects/). There's one variable you'll have to modify for your system. That's the dir that it uses to display all .sublime-project files. Inside, you'll see a "proj" script filter. Open that and change the $dir variable to a local path on your system. v1.0: http://d.pr/f/qvZM *NOTE: I'd like to add the ability to recursively search through the filesystem, so you could just start at your home directory.
×