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

Problem schlepping through tabs #11

Open
andymass opened this issue Jul 25, 2018 · 3 comments
Open

Problem schlepping through tabs #11

andymass opened this issue Jul 25, 2018 · 3 comments

Comments

@andymass
Copy link

andymass commented Jul 25, 2018

If the file contains tabs, the reselected region may be computed incorrectly, when using schlepp move in block mode.

image

Here is the result of SchleppLeft once:

image

Continuing to move in this state will schlepp the visually selected text from now on, instead of the original selection. I suppose this might be a vim limitation or bug, but it could also have to do with the way schlepp processes whitespace because gvxhPgvhoho by itself seems to work a bit better.

@zirrostig
Copy link
Owner

This seems to be caused by having schlepp set virtualedit=all when moving blocks with gvxhPgvhoho. I'll try changing it to use virtualedit=block,onemore and see if it causes any issues.

@poetaman
Copy link

@zirrostig So what was your finding? Is this plugin still maintained?

@poetaman
Copy link

+1 I still notice the same issue with tabs present...

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

3 participants