Vim: c+number+gg is not working as excepted

Created on 26 Dec 2017  路  3Comments  路  Source: VSCodeVim/Vim

  • Click thumbs-up 馃憤 on this issue if you want it!
  • Click confused 馃槙 on this issue if not having it makes VSCodeVim unusable.

The VSCodeVim team prioritizes issues based on reaction count.


Is this a BUG REPORT or FEATURE REQUEST? (choose one):

Environment:

  • VSCode Version: 1.19.0
  • VsCodeVim Version: 0.10.6
  • OS: windows 7

What happened:


edit a fie like this in normal mode, cursor is at ^
1 hello ^ 2 hello
after use command c2gg, it become this
1 | 2 hello

What did you expect to happen:
what i wish is just like vim, like this
1 |

How to reproduce it:

help wanted kinbug

All 3 comments

This seems related to the change operator not being linewise for some motions.

I haven't gotten into understanding the fix. But here are some failing tests.

Seems this now changes up to the start of the given line, which still isn't quite right. I'll try to take a look when I get the chance.

This has been fixed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

edwintorok picture edwintorok  路  3Comments

orn688 picture orn688  路  3Comments

triztian picture triztian  路  3Comments

Jimmy-Z picture Jimmy-Z  路  3Comments

spinningarrow picture spinningarrow  路  3Comments