Macs are renowned (or bemoaned) for having an extensive number of shortcuts. However, OS X itself pales in comparison to the shortcut lists in TextMate and its bundles.
What are some useful keyboard shortcuts you use?
Macs are renowned (or bemoaned) for having an extensive number of shortcuts. However, OS X itself pales in comparison to the shortcut lists in TextMate and its bundles.
What are some useful keyboard shortcuts you use?
Wrap each selected line in markup tags: SHIFT + CONTROL + COMMAND + W
For example, if you have:
Highlight all three lines and presss SHIFT + CONTROL + COMMAND + W to create:
I just found a list of shortcut key symbols w/ definitions under Bundles > HTML > Entities - helpful for me in figuring out the whole short-cut bonanza going on with TextMate.
Go to File: ⌘ + T
Find in Project: ⌘ + SHIFT + F
Close the nearest open html/xml tag: OPTION + COMMAND + PERIOD
For example, if you have:
CONTROL + COMMAND + D will automatically add the closing
</div>
tag to create:Selecting text using alt (via click and drag)
then use ⌘ + ] to indent (or [ to dedent)