Vim-产生奇怪的< ++>的LaTeX-Suite;括号中没有内容的符号 [英] Vim - LaTeX-Suite producing strange <++> symbol upon closing brackets with no content
问题描述
每当我关闭LaTeX-Suite(在MacVim中)中的任何内容时,从{}
到()
到$$
,里面没有内容,我都会在右边看到一个奇怪的符号<++>
不知道是为了什么.它似乎没有任何可区别的含义.例如,section{abc}<++>
只会在输出文档中的该节之后产生一个文字<++>
.我不确定这是错误,由其他设置/插件引起的行为(虽然在其他语法下我没有看到类似的情况)或某些预期的行为.这极大地阻碍了我的工作效率...
Whenever I close anything in LaTeX-Suite (in MacVim), from {}
to to ()
to $$
, with no content inside, a strange symbol <++>
is produced on the right about which I have no idea what is for. It doesn't seem to serve any distinguishable meaning. For example section{abc}<++>
will just produce a literal <++>
after the section in the output document. I'm not sure whether it's a bug, a behavior caused by some other settings/plugins(I'm not seeing similar things happening under other syntaxes though), or some intended behavior. This is greatly hindering my efficiency...
提前谢谢!
推荐答案
这不是bug,而是功能.
It's not a bug, it's a feature.
这是占位符/标记字符.它应该被跳转到. IIRC是使用<C-J>
的-用lh括号(*),使用<C-J>
的是vim,使用<m-del>
的是gvim.
It's the placeholder/marker character. It's meant to be jumped to. IIRC it was with <C-J>
-- with lh-brackets (*), it's <C-J>
with vim, and <m-del>
with gvim.
(*)vim-latex括号系统远程基于lh括号中的一个,除了后者一直在发展.
(*) vim-latex bracketing system is remotely based upon the one from lh-brackets, except the latter has continued to evolve.
这篇关于Vim-产生奇怪的< ++>的LaTeX-Suite;括号中没有内容的符号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!