Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to copy or select content between brackets or opening to closing html with Atom (Including the tags themselves)?

Tags:

atom-editor

In Atom you can use [ctrl + m] to goto the matching bracket or closing html tag.

How can you select the content from the beginning of / including the opening bracket / html to the end of/including closing bracket or closing tag?

like image 549
tread Avatar asked Jan 13 '16 07:01

tread


People also ask

What is the text or other elements that are enclosed between the opening and closing tags of an HTML element?

</TITLE> The text between the opening and the closing tags is a title for the hypertext node. There should only be one title in any node.

How do you find the matching bracket in an atom?

Use ctrl-m to jump to the bracket matching the one adjacent to the cursor. It jumps to the nearest enclosing bracket when there's no adjacent bracket, Use ctrl-cmd-m to select all the text inside the current brackets.


1 Answers

To select all the text inside the current brackets or opening to closing html with Atom

  • For Mac OS X [ctrl-cmd-m]

  • For Windows [ctrl-alt-m]

like image 92
Ashutosh Avatar answered Oct 04 '22 20:10

Ashutosh