Skip to content

Cursor jumps to end of line after expanding emmet in insert mode and changing to normal mode. #1270

Description

@samdesota

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?

  1. Use emmet in insert mode like div.example<tab>
  2. Press esc to enter normal mode

What did you expect to happen?

After I press <tab>, emmet expands the text and puts my cursor in between the

opening and closing tab. (This works)

After I enter normal mode, my cursor stays in the same place. (This doesn't)

What happened instead?

Instead, when I enter normal mode my cursor jumps to the end of line, I have to press b a couple times to get back to where a was.

Technical details:

  • VSCode Version: 1.8.1
  • VsCodeVim Version: 0.5.2
  • OS: macOS 10.12 (16A320)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions