Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sandy081 opened this issue Jul 22, 2016 · 3 comments
Labels
api feature-request Request for new features or functionality VIM VIM issue
Milestone

Comments

@sandy081
Copy link
Member

sandy081 commented Jul 22, 2016

  • 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)

@sandy081 sandy081 added api VIM VIM issue labels Jul 22, 2016
@sandy081 sandy081 self-assigned this Jul 22, 2016
@sandy081 sandy081 added this to the August 2016 milestone Jul 22, 2016
@rebornix rebornix mentioned this issue Jul 22, 2016
4 tasks
@rebornix
Copy link
Member

rebornix commented Jul 27, 2016

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 @sandy081 ?

@sandy081
Copy link
Member Author

@rebornix Agreed. We can make this less priority than #9786.

@sandy081 sandy081 modified the milestones: Backlog, August 2016 Jul 27, 2016
@sandy081 sandy081 assigned rebornix and unassigned sandy081 Apr 7, 2017
@rebornix rebornix added the feature-request Request for new features or functionality label Apr 19, 2017
@rebornix rebornix removed their assignment Sep 5, 2017
@jmaynardxandr
Copy link

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
Labels
api feature-request Request for new features or functionality VIM VIM issue
Projects
None yet
Development

No branches or pull requests

3 participants