I'm looking for a keyboard shortcut to select text between tags, such as:
<div>This is the text I want to Select</div>
I've done some searching on google, the st2 site and here, but can't find this shortcut. I know command + L will grab the entire line.
Thanks in advance.
Alt+F3 gives a really simple way to do find and replace: Use it to select all occurrences of the current word or selection, then just start typing to replace or edit them all at once.
While you can place multiple text cursors in Sublime Text with Cmd–Click (Mac) or Ctrl–Click (Windows), here's another technique that comes in handy. Hold Ctrl–Shift (Mac) or Ctrl–Alt (Windows) and hit Up or Down Arrow to place an additional text cursor above or below the current cursor.
You can select some text and then choose Edit > Tag > Wrap Selection with tag from the menu (or use the key binding you'll see when you look there) to do this.
Ctrl + D in SublimeText is "Quick Add Next." This appears to be equivalent to Ctrl + B in Brackets, which is "Add next match to Selection" on the Find menu.
Try ⌘ + Shift + a
I think that's the correct keybinding in OSX. If not, look for the expand_selection
command in the default keymap with the arguments {"to": "tag"}
For windows/nix: Try Ctrl + Shift + a
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With