首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >某些Vim有向图不能正确显示

某些Vim有向图不能正确显示
EN

Stack Overflow用户
提问于 2021-02-20 08:48:24
回答 1查看 53关注 0票数 2

上标2,3,+下标4不能正确显示。上标2显示为<8e>,上标3显示为<8f>,下标4显示为,上标+显示为ס

在我的.vimrc中设置了以下内容:

代码语言:javascript
复制
execute "digraphs 0S " . 0x2070
execute "digraphs 1S " . 0xB9
execute "digraphs 2S " . 0xB2
execute "digraphs 3S " . 0xB3
execute "digraphs 4S " . 0x2074
execute "digraphs 5S " . 0x2075
execute "digraphs 6S " . 0x2076
execute "digraphs 7S " . 0x2077
execute "digraphs 8S " . 0x2078
execute "digraphs 9S " . 0x2079

execute "digraphs +S " . 0x207A
execute "digraphs -S " . 0x207B
execute "digraphs =S " . 0x207C
execute "digraphs (S " . 0x207D
execute "digraphs )S " . 0x207E
execute "digraphs nS " . 0x207F
 
execute "digraphs 0s " . 0x2080
execute "digraphs 1s " . 0x2081
execute "digraphs 2s " . 0x2082
execute "digraphs 3s " . 0x2083
execute "digraphs 4s " . 0x2084
execute "digraphs 5s " . 0x2085
execute "digraphs 6s " . 0x2086
execute "digraphs 7s " . 0x2087
execute "digraphs 8s " . 0x2088
execute "digraphs 9s " . 0x2089

还有其他一些异常,但我认为任何解决这4个问题的解决方案都可以应用于其余的解决方案。我尝试将编码设置为utf-8并使用十进制值而不是十六进制,但问题仍然存在。我觉得这是字体的问题,但我尝试了十几种不同的字体,每种字体都产生了同样奇怪的字符。有什么想法吗?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2021-02-21 01:25:41

确切地说,为什么要将所有这些有向图重新定义为它们的内置值?你是如何确定下标4是的?

是通过<C-k>4s获得的,而是通过<C-k>s4获得的,所以在我看来,您只是按错了顺序。

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/66286846

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档