Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

ctrl alt cursor keys inserts odd characters #7712

Closed
paulkerry1 opened this issue Jan 20, 2021 · 2 comments
Closed

ctrl alt cursor keys inserts odd characters #7712

paulkerry1 opened this issue Jan 20, 2021 · 2 comments

Comments

@paulkerry1
Copy link

paulkerry1 commented Jan 20, 2021

xterm
Describe the bug
When using vim-8.2.2347-1 in insert mode under XFCE in Arch Linux, pressing ctrl-alt-{left/right/up/down cursor} to change desktops inserts '"<t_<fd>c>"' into the editor

To Reproduce
Detailed steps to reproduce the behavior:

  1. Run vim
  2. Edit a new file
  3. Type "i"
  4. press for instance "ctrl-alt-right" to move to the desktop to the right
  5. "<t_<fd>c>" is inserted into the new file

Expected behavior
Nothing should be inserted into the new file when pressing ctrl-alt-{left/right/up/down cursor}

Screenshots
see attached.

Environment (please complete the following information):

  • vim-8.2.2347
  • OS: Arch Linux
  • Terminal: regular xterm within XFCE

Additional context
vim 8.2.1989-3 and earlier releases do not do this.

Regards
Paul.

@brammool
Copy link
Contributor

I cannot reproduce this, because my window manager intercepts those keys.
If you do see Vim getting an escape sequence, perhaps XFCE does something strange?
I would expect the window manager to either consume those keys or pass them on unmodified.

@paulkerry1
Copy link
Author

Many thanks for the quick reply.
I've git cloned the latest vim 8.2.2377 and having built it locally it doesn't exhibit the same escape sequence problem.
I'll push this onto the Arch Linux bugs as it might be a build issue.
Regards
Paul.

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

No branches or pull requests

2 participants