如何解决在Vim中使用Solarized主题进行EasyMotion着色?
| 我正在为Vim使用Solarized主题(这很了不起),但是EasyMotion的颜色默认设置是完全不可读的。 当我激活EasyMotion时,前导字母清晰可见(亮红色,带有Solarized Dark),但它们所键入的单词与背景几乎没有阴影(深蓝色与略深的蓝色背景)。 我该如何更改它以使其更具可读性? 解决方案:像这样编辑.vimrc文件:\" change the default EasyMotion shading to something more readable with Solarized
hi link EasyMotionTarget ErrorMsg
hi link EasyMotionShade Comment
插件文档中的la第4.5节。
解决方法
EasyMotion的作者就EasyMotion的功能撰写了出色的文档。对我而言最突出的帮助标签是
EasyMotion_do_shade
和easymotion-custom-hl
。这些定义是否突出显示阴影文本以及如何使阴影文本和目标文本高亮显示。
,我倾向于使用与搜索时相同的突出显示。
还有另外两个可用设置,请参考源代码(https://github.com/Lokaltog/vim-easymotion/blob/master/t/easymotion_spec.vim#L507):
\" easymotion highlight colors
hi link EasyMotionTarget Search
hi link EasyMotionTarget2First Search
hi link EasyMotionTarget2Second Search
hi link EasyMotionShade Comment
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。