Home Download Buy Blog Forum Support

Problem with tab key binding...

Problem with tab key binding...

Postby nsyrax on Tue Mar 05, 2013 9:51 pm

I have been using Sublime Text 2 for a little over a few weeks now, and just a little while ago, my key bindings changed and I couldn't get them back like I wanted, so I uninstalled/reinstalled Sublime Text so everything would be clean, I also deleted my AppData folder. I use the Emmet package a LOT so I also reinstalled it and it works fine using the tab key to complete the desired action in an HTML file, but for some reason when I'm in a CSS file, I hit tab and get undesirable results. for example, I type the following:

Code: Select all
.header

and I hit tab to indent and it changes to
Code: Select all
:;

What do I need to change to keep this from happening? Thanks!
nsyrax
 
Posts: 15
Joined: Tue Mar 05, 2013 9:48 pm

Re: Problem with tab key binding...

Postby weslly on Tue Mar 05, 2013 10:33 pm

This is the default behaviour of Emmet. To disable it, go to the menu > Preferences > Package Settings > Emmet > Settings - User

Add this to the file it will open:
Code: Select all
{
    "disable_tab_abbreviations_for_scopes": "source.css"
}
weslly
 
Posts: 203
Joined: Sun Aug 28, 2011 3:57 am
Location: Brazil

Re: Problem with tab key binding...

Postby nsyrax on Wed Mar 06, 2013 1:29 pm

Thanks! This seems to have worked!!!
nsyrax
 
Posts: 15
Joined: Tue Mar 05, 2013 9:48 pm

Re: Problem with tab key binding...

Postby nsyrax on Wed Mar 06, 2013 8:29 pm

Now for some reason, Emmet isn't working in CSS sheets! I have uninstalled/reinstalled Sublime Text several times to start from scratch only to have it mess up for no apparent reason! Is there an alternative to Emmet? THis is about to drive me crazy!
nsyrax
 
Posts: 15
Joined: Tue Mar 05, 2013 9:48 pm


Return to Technical Support

Who is online

Users browsing this forum: applejosh, Yahoo [Bot] and 11 guests