Jump to content

indicating word beginnings in snippets?


Recommended Posts

@kagi I'm not sure I understand what you're saying? Do you just want k@ to be your keyword? If so, just create a snippet with that keyword :)

 

If you want all your snippets within a collection to end with @, then you can set a suffix:

https://www.alfredapp.com/help/features/snippets/collections/

 

If I've misunderstood your question, please give more details about what you're looking for and I'll be happy to help!

 

Cheers,
Vero

Link to comment

Hi Vero, thanks for the response. What I want is for k@ to expand to 'phrase1' and, say, ak@ to expand to 'phrase2' In otherwords, I do not want k@ to expand when I type karthik@. Does that make sense?

 

In otherwords I want to be able to designate few snippets as 'whole word only'. In the above example, k@ would be designated as needing to be a whole word and not part of another word

Link to comment

@kagi First, it looks like you've enabled "Expand snippets mid-string" in Alfred's Features > Snippets > Auto Expansion Options, so disable this to avoid the mid-string expansions you're seeing:

https://www.alfredapp.com/help/features/snippets/advanced/

 

Beyond this, I would encourage you to look at setting better keywords that aren't accidentally triggered. For example, you may want to set a collection-wide prefix:

https://www.alfredapp.com/help/features/snippets/collections/#affix

 

Cheers,
Vero

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...