Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS How to Make a Website CSS: Cascading Style Sheets Use ID Selectors

Shortcut for multy-indent on w-less danish k-brd.

Hi, I have a mac mini osx 10.9.2 with the w-less danish k-brd. There is no dedicated key for square bracket. What is the workaround? Thanx.

8 Answers

Stone Preston
Stone Preston
42,016 Points

try shift + option + 8 for opening curly brackets and shift + option + 9 for closing curly brackets. option + 8 for opening square brackets and option + 9 for closing square brackets

I know that, but it`s for typing. I need a shorcut command.

I tried cmd+alt+9, not working :(

Stone Preston
Stone Preston
42,016 Points

ah I see what you mean now. Ok try adding a custom shortcut by selecting in the menu Sublime Text 2 -> preferences -> Key Bindings - User and pasting in this

[
    { "keys": ["command+shift+."], "command": "indent"} 
]

and replace command+shift+. with whatever key combination you want to press to indent then save the file and restart sublime text.

Is it possible to costomize sortcut in workspace in general?

Stone Preston
Stone Preston
42,016 Points

ohh you are using workspaces. I thought you were using sublime text my bad. I dont think you can customize the workspace shortcuts. I may be wrong though

Ok, thanks for the answers!

What is the native osx html/css editor similar to workspace?

Stone Preston
Stone Preston
42,016 Points

most of the treehouse courses use Sublime Text 2 for text editing. Its very good.

Thanks, I`ll try it.