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

Using O on the first line does not move the cursor #127

Closed
hovsater opened this issue Jun 5, 2021 · 1 comment · Fixed by #281
Closed

Using O on the first line does not move the cursor #127

hovsater opened this issue Jun 5, 2021 · 1 comment · Fixed by #281
Labels
C-bug Category: This is a bug

Comments

@hovsater
Copy link
Contributor

hovsater commented Jun 5, 2021

If you're on the first line in a file and press O, it inserts the newline correctly above the current one, but does not move the cursor accordingly.

@pickfire pickfire added the C-bug Category: This is a bug label Jun 5, 2021
@sudormrfbin
Copy link
Member

o also seems to work incorrectly when there are multiple cursors:

command

sudormrfbin added a commit to sudormrfbin/helix that referenced this issue Jun 16, 2021
- `O` at the beginning of file didn't move cursor
- `o` and `O` messed up cursor position with multiple cursors

Fixes helix-editor#127
sudormrfbin added a commit to sudormrfbin/helix that referenced this issue Jun 16, 2021
- `O` at the beginning of file didn't move cursor
- `o` and `O` messed up cursor position with multiple cursors

Fixes helix-editor#127
archseer pushed a commit that referenced this issue Jun 17, 2021
- `O` at the beginning of file didn't move cursor
- `o` and `O` messed up cursor position with multiple cursors

Fixes #127
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants