Vim icon indicating copy to clipboard operation
Vim copied to clipboard

Copy the current line tag and its children with the command yat

Open calebeaires opened this issue 6 years ago • 1 comments

Is your feature request related to a problem? Please describe. I'm always frustrated when I want yank the entire html tag typing yat but instead copy the tag that starts on the current line and its children tags, it copy the entire parent html tag.

Describe the solution you'd like type yat and copy the tag within the current line

<div class="dont-copy-parent">

<!--  yat --> | <div class="want-copy-this">
                  <div>Content</div>
             </div>

</div>

Vim and neoVIM do this job

calebeaires avatar Mar 26 '20 18:03 calebeaires

I think this is solved by considering the tag starting on the current line, when the cursor is in a position you described. Check out #4721

gergelyth avatar Apr 06 '20 11:04 gergelyth