转到工具>每次我需要创建一个新的Sublime Snippet时,新的Snippet 开始变得很麻烦。有没有办法创建一个快捷方式,我可以通过按Command + i
跳转到新的代码段页面?
答案 0 :(得分:2)
打开命令面板,找到名为“Preferences:Key Bindings - User”的项目,打开它并添加:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet" />
<div class="article col col-lg-12 col-md-12 col-sm-12 col-xs-12">
<div class="articleTitle">Your Karate "Blocks" Are Dysfunctional. Here's Why.</div>
<div class="articleAuthor">
<p><a href="http://www.karatebyjesse.com/karate-block-real-meaning/" target="_blank">Jesse Ankamp</a>
</p>
</div>
<article class="preview">
<p class="italic bold">
“Traditional Karate blocks don’t work against real attacks.”
</p>
<p>That’s something I often hear.</p>
<p class="italic">
(Especially from people who don’t practice Karate.)
</p>
<p>They claim our Karate blocks require too much strength, power, speed, intuition and effort to successfully work against an opponent attacking full force.</p>
<p>I agree.</p>
</article>
<article class="full">
<p>Some more text</p>
</article><a class="seeMore btn btn-primary">See More...</a>
<hr>
</div>
您可以更改“ctrl + y”以获取您喜欢的任何内容。