Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8095493
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T21:08:55+00:00 2026-06-05T21:08:55+00:00

In Textmate I have several snippets assigned to specific key equivalents. So command +

  • 0

In Textmate I have several snippets assigned to specific key equivalents.

So command + F1 would open a little menu that gave me the choice of some number of snippets.

Is the same thing possible in Sublime Text 2?

Follow-uo:
In Textmate you assign key equivalents to a snippet and you can assign the same key equ. to multiple snippets. When there is more than one snippet for a selected key equ. a menu opens with all of the snippets assgned to that key equ on it.

This really helps me out…I can have a number of PHP snippets on command + F1, a bunch of jQuery snippets on command + F2 etc… and I don’t have to remember a crazy number of key equ, just one for PHP stuff, etc…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T21:08:57+00:00Added an answer on June 5, 2026 at 9:08 pm

    If you add this line:

    { "keys": ["shift+f1"], "command": "show_overlay", "args": {"overlay": "command_palette", "text": "snippet"} }
    

    to your keybindings file /Packages/User/Default (Linux).sublime-keymap. Then everytime you press shift+f1. A popup menu will appear with all snippets. But you only want some snippets. So… in you snippet files that you want to appear add the line:

    <description>php snippet, some description</description>
    

    And change the line in the top keybinding from "text": "snippet" in the to "text": "php snippet". Now when you hit shift+f1 all snippets with description beginning with php snippet will appear, with their full descriptions. And you can repeat this process for all your different groups.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

It happens more often than not that I have to comment several lines at
I have a Ruby script that I built in TextMate and can successfully run
I have the directory of a Rails app open in Vim and would like
I have TextMate running on Mac, and it has txmt protocol, that I can
In TextMate 1.5.10 r1623, you get little arrows that allow you to fold method
I have a javascript that opens FILE with TextMate with txmt protocol. It works
I have some gnarly functions in javascript that I am using Textmate to edit.
I have Textmate 1.5.7 running on my leopard machine. When programming in rails, for
Textmate does not source my .profile file. I don't have a custom bash_init.rb, nor
I've been using Textmate for Ruby/Python scripting for awhile and now have a need

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.