VSCodeVim / Vim

:star: Vim for Visual Studio Code
http://aka.ms/vscodevim
MIT License
13.81k stars 1.31k forks source link

In insert mode, hitting `<Down>` after `<C-Left>` does not take current position into account #1664

Open jleclanche opened 7 years ago

jleclanche commented 7 years ago

The VSCodeVim team prioritizes issues based on reaction count.


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

Environment:

  1. Open a python file
  2. Write the following in it:
tuples = (
    (1, 12345),
    (1, 67890),
)

Move the cursor to be right after 5 in the first 12345. If you now press Ctrl + followed by , the cursor will end up right after 0 instead of right before 6, where you would expect it to be (and where it would be by hitting arrow left 5 times instead of previous word).

This works both in and out of insert mode. I'm not sure if this is a vim or native vscode issue admittedly.

Chillee commented 7 years ago

I believe this is a native vscode issue, since we're not handling ctrl+left, our internal desired column never changes.

jleclanche commented 7 years ago

Moving to Microsoft/vscode#26124

Chillee commented 7 years ago

Sorry I messed that sentence up. It's not a native vscode issue as in it's their fault, it's a native vscode issue as in it's our fault for not handling native vscode functionality properly.

This is definitely an issue for us.

jleclanche commented 7 years ago

Huh :) okay