Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

vim 键盘上下左右,输入都会出现乱码 #1745

Open
a19ttc29 opened this issue Jun 28, 2023 · 2 comments
Open

vim 键盘上下左右,输入都会出现乱码 #1745

a19ttc29 opened this issue Jun 28, 2023 · 2 comments

Comments

@a19ttc29
Copy link

微信截图_20230628182313

@ademarguerreiro
Copy link

ademarguerreiro commented Jul 18, 2023

Same problem here, for me it is occurring when i access RHEL based servers and the language is EN-US, it look like some problem with keyboard layout parsing the commands or something like that.

And no matter what i tried, edit in VIM, NANO or NVIM, this strange characters appear when pressing up and down arrow keys. I tried user leehow1988 solution and changing .bash_profile configuration and change Windterm's term and term-256 files but also with no avail. This is the only problem that i had with Windterm, but editing files on the servers is crucial for me, i'm using another terminal for now, unfortunately.
error-wind

@yocdynysscvip
Copy link

Your character encoding seems to be different from mine. When I connect to my Mac through a Shell session and try to paste long content using the vim or vi editor, it displays a lot of repeating characters such as ^[OB^[OB^[OB^[OB^[OB^[OB^[OB^[OB^[OB^[OB^[OB. However, when I connect to a Linux server through a new session and use vim to edit and paste the same content, there are no encoding issues. Additionally, when I use the default terminal on my Mac to edit, there are also no encoding issues. I have tried modifying the session configuration multiple times, but the issue persists.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants