Skip to content

Cursor Up and Down should place the cursor at end of line if it's current state is end of line #9619

Open

Description

  • Move the cursor to End of line by using End or Cmd + Right
  • Now doing Up or Down commands should place the cursor at the End.

But currently VS Code is placing the cursor at min(previousPos, lineLength)

Activity

  1. rebornix commented on Jul 27, 2016

    @rebornix
    Contributor

    After going through all Vim Fold/Unfold commands and we found we have to get Fold information from Code finally. If we don't provide Fold info, about 15+ commands are not possible to implement.

    I already opened a feature request #9786 and once that's done, we can use Fold info to help calculate how we move cursor inside Vim extension and this feature here is not neccessary any more. So my suggestion is, let's do others first and implement Fold when possible. After that, if people still think this feature is a valid request, then we can add it in Code, make sense Sandeep Somavarapu (@sandy081) ?

  2. sandy081 commented on Jul 27, 2016

    @sandy081
    MemberAuthor

    Peng Lyu (@rebornix) Agreed. We can make this less priority than #9786.

  3. added
    feature-request
    on Apr 19, 2017
  4. removed their assignment
    on Sep 5, 2017
  5. jmaynardxandr commented on Apr 3, 2020

    @jmaynardxandr

    Has this been implemented recently? It matches the behavior I'm seeing in the editor as of version 1.43.2 (February 2020) and I really don't like it, I keep losing track of my cursor when it happens and it's making me less productive. It sounds like some people like it that way though, so I was just wondering if there's a setting that can restore the previous behavior for those of us that don't like this behavior of the cursor automatically moving to the end of a line when moving it up/down?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    VIMapifeature-request

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions