Jump to content
kagi

indicating word beginnings in snippets?

Recommended Posts

Hi there, is it possible to setup expansion like this:

keyword: k@

snippet: k@mywebsite.com

 

keyword: karthik@

snippet: karthik@outlook.com

 

 

Cheers,
Karthik

 

Share this post


Link to post

@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

Share this post


Link to post

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

Share this post


Link to post

@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

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...