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

"$" should not bring you to the last character in the line, not one past it #8

Closed
richkzad opened this issue Apr 6, 2017 · 6 comments

Comments

@richkzad
Copy link

richkzad commented Apr 6, 2017

Say you're in the line:

abc;

If you hit $in normal mode, the block cursor should land on ;, not the space after ;.

@nosami
Copy link
Owner

nosami commented May 2, 2017

Which version of XSVim / XS / VS for Mac are you using?

This works for me with XSVim 0.16 / VS for Mac

@richkzad
Copy link
Author

richkzad commented May 2, 2017

Ah, this was 0.13 with XS! I will try 0.16 with the VS for Mac Preview.

@nosami
Copy link
Owner

nosami commented May 2, 2017

Thanks! It's not in the feed yet, so you'll need to install it from here https://github.com/nosami/XSVim/releases/tag/0.16

@richkzad
Copy link
Author

richkzad commented May 2, 2017

Okay, $ works!

But found another somewhat related problem:

If you move up/down to a line which doesn't have enough characters to keep your cursor position, the cursor will land on the space after the last character of the line.

Example, (where # is the cursor)

Testi#g
Hi.

(Tap j)

Testing
Hi.#

@nosami
Copy link
Owner

nosami commented May 2, 2017

Ok... thanks - I'll fix that.

nosami added a commit that referenced this issue May 2, 2017
@nosami
Copy link
Owner

nosami commented May 2, 2017

Fixed by ea27f4d

@nosami nosami closed this as completed May 2, 2017
nosami added a commit that referenced this issue May 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants