Sublime Select All in a Bracket
If you have code in a bracket you want to select, like this:
items: [{
apples
},{
juice
},{
popcorn
}]
put your cursor on the first '[' and then press Shift - Command - m (on a Mac) and Sublime will select all of the text between the first '[' to its matching ']'.
Written by Miles Matthias
Related protips
3 Responses
On Linux it's: ctrl+shift+m
over 1 year ago
·
Thanks, and [Ctrl + Shift + M] works on Windows, too.
over 1 year ago
·
On MAC: [Shift + Ctrl + M] or [Shift + Command + M]
It used to work with Command earlier and now, it works with Ctrl. I don't know why and how.
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Sublime text 2
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#