[英]Jump from one tag content to next tag content in Sublime
Currently I have to edit a lot of HTML content and therefore I was wondering if there is a Sublime
key shortcut to move from one tag content to the next.目前我必须编辑很多 HTML 内容,因此我想知道是否有一个
Sublime
快捷键可以从一个标签内容移动到下一个。
For example I have a huge list and edited the content of an li
.例如,我有一个很大的列表并编辑了
li
的内容。 To go to the next li
content and 'highlight' it for edit I need to use the mouse or a lot of the arrow keyboard keys.要转到下一个
li
内容并“突出显示”它以进行编辑,我需要使用鼠标或许多箭头键盘键。
I hope you understand what I describe.我希望你明白我所描述的。 I'm not really sure how to 'phrase' this issue, therefore I was not very successful using Google.
我不太确定如何“表述”这个问题,因此我在使用 Google 时并不是很成功。
As Sublime is generally awesome I was wondering if there is a shortcut for this.由于 Sublime 通常很棒,我想知道是否有捷径。
I'm using Sublime Text 3
on Windows
.我在
Windows
上使用Sublime Text 3
。 But Mac
key shortcuts are also ok, since I use Sublime on my MacBook as well.但是
Mac
快捷键也可以,因为我也在 MacBook 上使用 Sublime。 Or just telling me the name of the respective Key Binding, so I can set it myself.或者只是告诉我相应键绑定的名称,这样我就可以自己设置。
This does not do exactly what you're asking for, but should allow you to spend quite a lot less keystrokes/mouse click.这并不完全符合您的要求,但应该可以让您花费更少的击键/鼠标点击。
If the cursor is placed after an opening angle bracket <
, you can use the shortcut CTRL + ALT + A to select the content of the enclosing tag eg with the cursor anywhere on line two after the first <
:如果光标放在左尖括号
<
,您可以使用快捷键CTRL + ALT + A来选择封闭标签的内容,例如,将光标放在第二行第一个<
之后的任意位置:
<div>
<p>This is content...</p>
</div>
Would select the text: This is content...
.将选择文本:
This is content...
You would still have to do moving to next tag yourself.您仍然需要自己移动到下一个标签。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.