Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been using Sublime Text for quite some time (both on OS X and Windows) and it's been working great. One of the features I like and use the most is "Expand Selection to Tag". On the Windows and OS X version, I put my cursor inside two HTML tags, and press the hotkey (ctrl+shift+a or cmd+shift+a) and it does this:

On Windows / OS X

Instead, when I try to do the same thing with that hotkey on Linux (Ubuntu 12.04), it does this:

On Ubuntu 12.04

Yet, the menu says that's the correct hotkey, but it's definitely not the right command.

When browsing the "Key Bindings - Default" preferences file, it's correctly bound:

{ "keys": ["ctrl+shift+a"], "command": "expand_selection", "args": {"to": "tag"} },

Yet it doesn't do what it's supposed to.

What's that command it's excecuting and how do I do to make that binding to do what's supposed to do?

share|improve this question
    
Have you checked the Default (Linux).sublime-keymap file? – Sara Oct 11 '12 at 16:24
    
@Sara Where can I check that? I tried the home folder and I didn't find it. In the Pristine Packages folder (where ST2 is installed), the file's empty (inside the User.sublime-package file) – AeroCross Oct 11 '12 at 17:57
    
@Sara Is it in the root install folder? There's no such packages folder there :/ – AeroCross Oct 11 '12 at 20:35
    
For me (OS X) it's in Application Support -> Sublime Text 2 -> Packages -> User - I'm not sure what the Linux installation looks like, but presumably it's a similar structure? I also have Pristine Packages next to Packages. – Sara Oct 12 '12 at 15:33
1  
Do you have zencoding installed or something else taking over those hotkeys? – d_rail Oct 20 '12 at 10:52

I’ve encountered such problems many times, but not anymore. Some enlightened person made a package to find key conflicts between packages: https://sublime.wbond.net/packages/FindKeyConflicts

share|improve this answer
up vote 1 down vote accepted

As @d_rail pointed out, there was a conflict with a Package ― in specific, Zen Coding.

When I uninstalled the package, it started working again as it should have from the beggining. I will proceed to reinstall the package and configure the key bindings so they won't collide.

How could I not see that before!?

share|improve this answer
1  
I couldn't figure what was going on, then I saw the answer to this question: superuser.com/questions/489879/… and then it clicked. Unfortunately, your predicament happens to me a lot, I install a bunch of plugins that look cool, then when something weird happens, I have no idea what is causing it. – d_rail Oct 26 '12 at 21:07
    
Exactly what happened to me, and the link (and the comment inside the answer) describes exactly what happened. – AeroCross Oct 29 '12 at 14:48

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .