-
Notifications
You must be signed in to change notification settings - Fork 33
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
two splits on same file problem #24
Comments
Thank you for the report. I could reproduce it.
This is because vim-crystal replaces whole current buffer as below:
I must preserve the cursor positions of all buffers. |
This issue is fixed at least in my environment. |
Thanks for looking at this. I can't check for a day or so, but will as soon as I can. |
It's OK when you have a time to check. |
Sorry for taking so long, it's a little better thank you, but still the other pane moves on longer files :e spec/pg/connection_spec.cr move so top split starts at line 14, ends at 43, and cursor is on 40 bottom split stays put, but top split moves so is top at line 1 and bottom at line 30. When I move to the top split, the split moves so the cursor is still on line 40, by making the top line 11 and the bottom 40. |
Ah, OK, I'll check it later. Thank you for the detail. |
Sorry for making you wait. I tried. It seems that cursor position is preserved but the screen position is not... |
Great! thank you! |
👍 |
When I have my window split into two viewports on the same file, and then save in one viewport, the other viewport jumps to the beginning of the file, losing my place.
I think this is because of the auto formatting, but I'm not sure.
Please let me know if you need any more information.
The text was updated successfully, but these errors were encountered: