Search the Community

Showing results for tags 'snippets'.



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

Categories

  • New Features
  • Other

Found 67 results

  1. Hi guys, I love the improvements made to snippets in Alfred 3, glad I bought it. It is already super easy to: 1) create a snippet from an existing clipping (simply cmd+S on it) 2) explore current snippets, directly from Alfred However, it is painfully difficult to: 3) edit an existing snippet Let's say I'm exploring my snippets, found one I want to edit... then I have to first remember some keywords to find it back, then go to Alfred preferences, find back the snippet, click edit. All that could be made so simple if only I could directly edit the selected snippet directly from Alfred, while I'm exploring my snippets. Why not use the same Cmd+S shortcut to do this for example? Currently, cmd+S on an existing clipping makes it a snippet, however cmd+S on an existing snippet makes nothing. It would feel very natural if it just opens the snippet for editing. Thanks! Big Alfred fan here, Vermeer
  2. Would love to have a way to import snippets already created in other apps into Alfred? I'm thinking apps like aText, TextExpander, etc?
  3. A snippet pack to make putting the true unicode equivalents of things like :sparkles:, :lipstick:, and other emojis used in git commits easier to type. It gives them names relevant to coding. Of course the official gitmoji has a CLI but suppose you want to use an IDE or don't want to install npm but already have Alfred Powerpack, or you just want a more inline way way of adding emoji, or you want the emoji to work with $git log (e.g. :sparkles: will not be interpreted by git log); if so, this is for you. Examples: :sparkles: -> :add: Because one uses ✨ when adding new features :penguin: -> :lin: Because one uses 🐧 when making linux related changes :checkered_flag: -> :win: Because one uses 🏁 for windows related changes :heavy_plus_sign: -> :+dep: Because one uses ➕ when adding dependencies etc.. Added benefit of making emojis appear with $git log because they are just unicode after using this. Inspired by: https://gitmoji.carloscuesta.me/ And also: https://github.com/atom/atom/blob/7929e261a0d6e78ff4ca5196c8b385946e64dbd9/CONTRIBUTING.md#git-commit-messages Full mapping details and download is available on the github
  4. I would like to use the snippet feature in MacVim as well but it doesn't work. I think this is due to MavVim not using a plain stock cocoa edit widget but something else. Is there anything how I could get it to work? Are there are any workflows, or simple way to make Snippets & MacVim work together?
  5. I've taken to using snippets to store URLs to animated gifs - for easy referencing and pasting into chats etc. What would be *great*, would be to support quicklook by pressing a configurable hotkey, within the Snippets Viewer, if the snippet contents is a URL, to preview the GIF - although this would be great for previewing any kind of URL. Cheers, can't live without Alfred!
  6. I have enabled Alfred 3's accessibility in System Preferences, I have "Automatically Expand Snippets by Keyword" checked in Alfred's preferences, and I have several snippets defined with "Autoexpand" selected for those snippets. They don't autoexpand. They still work with the "snip" keyword, but they don't expand on their own in Textedit or in Notes. I am sad.
  7. Just started using snippets in A3 and love it - much faster than AText which I was using before and have now removed permanently. However, despite turning "Expand snippets mid-string" off and rebooting several times, A3 still insists on expanding mid-string. for instance whenever i try to start tmux i get tomorrowux! Sierra, MBA 11" Any help?
  8. I have 708 little text bits that I want to menu-ize. If I can make each one a Snippet and stuff them all in a collection that seems like one way to do it. Except I'm not seeing a way to mass import from a text file. Can it be done (without huge effort)? If not, are there other options? PS. The snippets are HipChat emoticons like (congaparrot).
  9. Is it possible to have some default text show up in a snippet with the {cursor} placeholder? %<area("{cursor}")>% expand to: %<area("object_id")>% with object_id selected ready to type in the replacement text? i'd like a way to remind me what i need to enter basically. ty
  10. I just started using Snippets after transferring everything from aText. Twice within the past 2 days, my snippets have stopped expanding. I use Google Chrome - and the only way to get them working again is to reboot Chrome. This is a major pain in the rear with everything I have open for work. Is there a bug that I should know about? I wouldn't have switched everything over if I knew this was going to happen. Please help!
  11. I was hoping to use Alfred's snippets to store and edit 'canned responses' across various email accounts I manage. It works beautifully for text, but any hyperlinks are dropped. That is, "click <a href='location'>here</a> for help" becomes "click here for help" I know in Gmail that copy/paste retains hyperlink data, but any copy/paste into a text editor will drop the hyperlinks (I assume this has to do with meta-something). I'm not even sure if the TextExpander tools feature something like this, but support for rich html snippets would be amazing!
  12. Snippets are a great new feature. To make it fully useful as a substitute for TextExpander add a feature that will expand abbreviations based on the case of the keyword. For example, byu expands to beautiful while Byu expands to Beautiful. Thanks
  13. Hi there guys! I'm coming from TextExpander now and I miss —maybe it's possible, but I couldn't find a way— the possibility of use a reference to other snippets when I create a new one. For instance: :thx > Thank you very much! :pthx > That's perfect. {:thx} > That's perfect. Thank you very much! Thanks.
  14. Alfred trims trailing spaces and tabs in keyword. Fix it please.
  15. Hi Snippets work great all over macOS including NValt - except as the first input/first-line-first-characters in a note in NValt. This might seem like an edge case but my problem is that I use NValt for journaling and always insert new journal entries at the top of the journal, starting with todays date by using a snippet. This bug can be reproduced every time, and the work-around is to enter any character and then the snippet, then to remove the extra character. Please note that snippets work fine anywhere else in NValt. Thanks /Mike
  16. I haven't been able to find anything about it, so I'm guessing it's not part of the snippet feature; but is it possible to add simple math to time and dates of snippets? For example, "today plus 1 day" type stuff.
  17. I have a snippet tied to the key sequence: ;etd The snippet has this: Another one done: {clipboard} The clipboard contains a long web site link. When the link is very long, the end of the link gets deleted and the beginning still has the ";etd" (or part of it).
  18. Hi I recently switched from TextExpander to Alfred for most of my snippets and it works really nice, but I'm having a problem with expansion of snippets in Alfred's default search field. E.g I use the snippet " ddate" all over macOS and it works fine in all applications (except 1Password of course) but not in Alfred's main search. Any suggestions what I can do to enable it? Thanks Mike
  19. I have some rather large snippets that are a bit similar to one another. Is it possible to do a quickview of them when looking through Alfred? Similar to contacts?
  20. Is there a way to call a script from a snippet or inversely trigger a workflow with a snippet?
  21. v3.1 [716] One of the latest builds broke snippets for me. All configurations seem correct. Tried in multiple apps that it has worked before: Sublime Text, Chrome, Notes etc. But now it just won't expand. OS X 10.11.6 (15G31) Screenshots: http://imgur.com/a/QhdKS How to debug such thing?
  22. Hi, loving Snippets in native OSX - but is there a way to get this working when within a Windows 7 VM in vmware Fusion.
  23. Hi, I would like to auto-fill forms with Snippets (v.3). Therefore I'd like to use the TAB command to navigate from one field (e.g. name) to the next (e.g. address). The example would be: --- John Doe {TAB} 123 Fakestreet {TAB} Mytown --- Or is there already a workaround for that? Thanks.
  24. I have a Macbook Pro with OSX running 10.11.6 and Alfred 3.0.3. I also have VirtualBox 5.0.26 running a Windows 7 64-bit VM. The Windows VM has AutoHotKey (AHK) installed. In case you're not aware, AHK is a free text expander tool for Windows. When I have Alfred Snippets enabled under the Features section of the main window of Alfred, AHK in my Windows VM stops working. The shortcuts I enter inside the Windows VM always expand to the character "v". For example, I have "workphone" as the keyword in AHK which usually expands to 123-456-7890. When Alfred snippets is enabled and I type in "workphone" in a text editor inside the Windows VM, it only expands to "v". It's the same with all keywords. When I disable the "Automatically expand snippets by keyword" checkbox in Alfred, the shortcut works correctly in the VM. I also clicked on the little Settings icon next to the checkbox and added VirtualBox in the list of exceptions to not expand snippets but it didn't help. Can someone help please? I want to be able to use Alfred Snippets when I'm using OSX and AHK when I'm in the Windows VM.
  25. Quiver Workflow This workflow allows you to create templates with Handlebar syntax inside of the [Quiver](http://happenapps.com/#quiver) program. To use the workflow, you have to have Node.js installed first. I recommend using [Homebrew](http://brew.io) to install it. Once Node.js is installed, go to your Quiver Library file in Alfred Browser and select the “Set Quiver Library” file action. This tells the workflow where your templates (or snippets) are to be kept. Create a workbook called “Snippets” with one note called Defaults. The Defaults note has to have one code block set to JSON and the defaults for the Handlebar expansions set. The rest of the notes will be templates. When you run “qt”, it will list all of your template files in the Snippets notebook. When you select one, it will be expanded with any json cell the note and the Defaults json note data. If you have the data element expandPlain set to true, it will expand the snippet and place it into the topmost application. Otherwise, it will pass the snippet to TextExpander for further processing. There are four special helper function for Handlebars defined. They are: {{save <name> <text>}} This command creates a helper named “<name>” with the expanding text of “<text>”. It also places the given “<text>” at the point of definition. This allows you to create text snippets on the fly inside the template. Very handy. {{clipboard}} This helper command places the current clipboard contents at the point in the template. {{date <format>}} This will format the current date and time as per the format string given. See the help document that is loaded upon initialization. {{date <date/time> <format>}} This takes the date/time string and formats it according to the format given. See the help document that is loaded upon initialization. The following data expansions are defined as well: {{cDateMDY}} gives the current date in Month Day, 4-digit year format {{cDateDMY}} gives the current date in Day Month 4-digit Year format {{cDateDOWDMY}} gives the current date in Day of Week, Day Month 4-digit year format {{cDateDOWMDY}} gives the current date in Day of Week Month Day, 4-digit year format {{cDay}} gives the current date in Day format {{cMonth}} gives the current date in Month format {{cYear}} gives the current date in 4-digit year format {{cMonthShort}} gives the current date in Short Month name format {{cYearShort}} gives the current date in 2-digit year format {{cDOW}} gives the current date in Day of Week format {{cMDthYShort}} gives the current date in Month day 2-digit year format {{cMDthY}} gives the current date in Month Day 4-digit year format {{cHMSampm}} gives the current date in h:mm:ss a format {{cHMampm}} gives the current date in h:mm a format {{cHMS24}} gives the current date in H:mm:ss 24 hour format {{cHM24}} gives the current date in H:mm 24 hour format There is now an option for snippet versions. Please read the manual for more details. There is more to come! I just did a major update to this action. The new features are: 1) Paste through Keyboard Maestro (expanding the %| cursor placement macro). 2) Added the next Handlebar helper for doing relative dates (see the new help file). 3) Added the ability to hook into the Handlebar template engine by adding a JavaScript cell in the Defaults notebook. Now you can add your own helper functions. (see the new help file and new defaults file for examples). Version: 2.0 Date: 04/08/2016 Packal: http://www.packal.org/workflow/quiver-workflow Github: https://github.com/raguay/MyAlfred