-
Notifications
You must be signed in to change notification settings - Fork 19
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
Support for visual mode #13
Comments
@lfmet I have confirmed the problem. Unfortunately, I don't have any idea to solve this issue for now. |
Based on my own testing, I understand "break" here to mean "when I select something and try to scroll the cursor off the screen, the cursor follows me and expands my visual selection". I did an hour or so of research and experimentation just now to find a way to encourage the cursor to stay where it is as you scroll. But as far as I can tell from both the vim manual and from Q&A threads on Stack Overflow, it seems that 'cursor stays on screen' is kind of a rule of Vim UX philosophy. It seems that the NeoVim team has also avoided it. Personally, I don't see a way that we can easily make this work like other text editors (unless someone else wants to add a feature to vim). However, I was thinking that one thing we could do is limit scrolling in visual mode to stop when the cursor is about to be moved. It wouldn't be smooth at all, but it would allow users to flick down/up to easily see the next screen of a file without breaking their visual selection. Do we think that's something worth having? |
@amarqueslee Interesting discussions. I was not thinking about the cursor off screen, more like vanilla visual mode with |
Breaks on visual mode.
e.g.
vnoremap <silent> <c-d> :call comfortable_motion#flick(100)<cr>
.The text was updated successfully, but these errors were encountered: