Skip to content

Arrow keys and some other motions don't work as expected in visual select modes #1054

@realh

Description

@realh

Please thumbs-up 👍 this issue if it personally affects you! You can do this by clicking on the emoji-face on the top right of this post. Issues with more thumbs-up will be prioritized.


What did you do?

If I enter a visual selection mode with v, shift+v or ctrl+v the selected block doesn't extend correctly when I use the arrow keys. Instead, an insert cursor appears. I think what's happening is that it's still moving the insert cursor instead of the selection bound. h, j, k and l keys do extend the selection as expected, so I can work around the problem by rebinding the arrows to those letters in otherModesKeyBindingsNonRecursive. However, I can't fix PageUp and PageDown this way, because Ctrl+F has the same problem, and Ctrl+B isn't equivalent to PageUp even in normal and insert mode.

Technical details:

  • VSCode Version: 1.7.1
  • VsCodeVim Version: 0.4.1
  • OS: Debian

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions