Vim zencoding - 标记视线
我想非常简单,但我无法从 vim 中的 zencoding 中得到我认为正确的行为。
所以我正在做的是。
1) selecting using visual a who line.
2) Using <C-e> (rebound) to use zencoding.
3) supply the tags to apply and enter.
发生的情况是说 using h2 与 all 一起发生。
<h2>
My text
</h2>
不过我想要这样的。
<h2>My Text</h2>
我怎样才能得到它呢?
Very simple I guess but I cannot get what I perceive to be the correct behavior out of zencoding in vim.
So what I am doing is.
1) selecting using visual a who line.
2) Using <C-e> (rebound) to use zencoding.
3) supply the tags to apply and enter.
What happens is saying using h2 occurs with all.
<h2>
My text
</h2>
However I want it like.
<h2>My Text</h2>
How can I get it like that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
回答如果使用 V (shift+v) zencoding 在 vim 中选择一行完成块编码,那么“某些文本”就变成:
其中使用单数 v 然后使用 h,j,k,l 手动选择文本,结果是内联的:
如果有人有任何其他巧妙的技巧请告诉我。
Answer if selecting a line in vim with V (shift+v) zencoding completes a block encoding so "some text" becomes:
where as using the singular v and then manually selecting text using h,j,k,l the result is inline:
If anyone has any other neat tricks let me know.