简体   繁体   English

INSERT 模式下的 ý 字符不打印

[英]The ý character in INSERT mode isn't printed

Issue description问题描述

I use VIM to take notes in Czech at university lectures.我在大学讲座中使用 VIM 用捷克语做笔记。 All special characters work fine except for the 'ý' character.除“ý”字符外,所有特殊字符都可以正常工作。

When I type it in INSERT mode, it isn't printed.当我在 INSERT 模式下键入它时,它不会被打印出来。 Instead, it shifts the cursor to the left, which is very annoying.相反,它将光标向左移动,这很烦人。

The character is represented correctly when typed in the vim command line.在 vim 命令行中键入时,该字符会正确表示。 So I suppose the character is misinterpreted as an INSERT mode movement command?所以我想这个角色被误解为一个 INSERT 模式的移动命令? Is this a bug?这是一个错误吗?

How to reproduce如何重现

Please temporarily install the Czech QWERTZ keyboard layout (careful, there is a programmer version of the layout, we need the regular one).请临时安装捷克QWERTZ键盘布局(注意,有程序员版的布局,我们需要正规的)。

Typing the 'ý' character can be accomplished using either of these steps:键入“ý”字符可以使用以下任一步骤完成:

  • The top number row is reserved for the most common special characters, press 7 without SHIFT to print it.最上面的数字行是为最常见的特殊字符保留的,不按 SHIFT 键按 7 即可打印。

  • Special characters can also be typed by first pressing and then letting go the '=' key (next to BACKSPACE) and then pressing the character you want to decorate with an accent.也可以通过先按下然后松开“=”键(BACKSPACE 旁边)然后按下要用重音符号装饰的字符来键入特殊字符。

Wrapping up包起来

Issue replication times: always发布复制时间:总是

  • Ubuntu 17.10 Ubuntu 17.10
    • Terminal终端
    • GUI vim-gnome GUI vim-gnome
  • Bash on Ubuntu for Win 10 Bash on Ubuntu for Win 10

Running vim without vimrc solves the issue.在没有 vimrc 的情况下运行 vim 可以解决这个问题。 Link to my vimrc链接到我的vimrc

Any suggestion and/or workaround will be very helpful.任何建议和/或解决方法都会非常有帮助。 Thanks in advance!提前致谢!

I know this is an older issue, but to anyone else struggling with this, it is an issue within the auto-pairs plugin, that has since gone silent and unmaintained.我知道这是一个较老的问题,但对于其他为此苦苦挣扎的人来说,这是自动配对插件中的一个问题,此后一直保持沉默和无人维护。 There's an issue for it.这是有问题的。

If you don't want to scroll through the discussion, there's a fork of the plugin at https://github.com/lunarWatcher/auto-pairs which has the issue fixed.如果您不想滚动讨论,可以在https://github.com/lunarWatcher/auto-pairs找到该插件的一个分支,该问题已解决。 Since the original plugin is unmaintained, there's little hope of the fix being merged back, but I managed to switch to the fork with no apparent issues.由于原始插件未维护,因此修复合并回来的希望很小,但我设法切换到 fork 没有明显问题。

Přeji příjemné psaní ypsilonů s čárkou! Přeji příjemné psaní ypsilonů s čárkou!

The abbreviation:缩写:

iabbrev 'y ý

could be used to display the ý character in insert mode.可用于在插入模式下显示ý字符。 Typing 'y should result in ý .键入'y应该导致ý

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM