Vim: Movement broken after jumping to symbol

Created on 5 Oct 2016  路  4Comments  路  Source: VSCodeVim/Vim

What did you do?

  • In any file, put cursor on line 5.
  • Jump to a symbol, say on line 50.
  • Press j

jump

What did you expect to happen?

Going to line 51.

What happened instead?

Going to line 6.

Technical details:

  • VSCode Version: 1.6 Insiders
  • VsCodeVim Version: 0.3
  • OS: OS X 10.11.6
kinbug

Most helpful comment

This annoys me all the time. My top priority after I finish up multi-cursor stuff.

All 4 comments

Just want to say this happens to any sort of "jumping", including go to definition, use VSCode's search to find next target. And it's not only j. jkhl, V, {, } all move from the position before the "jump", not after it.

This annoys me all the time. My top priority after I finish up multi-cursor stuff.

Really fun when you're hopping around and dd-ing a bunch of lines that match your search term 馃槤

Since we are updating internal cursor position if it's a selection change triggered by Command, this bug no longer exists :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jaredly picture jaredly  路  3Comments

orn688 picture orn688  路  3Comments

gerardmrk picture gerardmrk  路  3Comments

liamdawson picture liamdawson  路  3Comments

st-schneider picture st-schneider  路  3Comments