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

virtualedit's 'all' doesn't combine with 'block' #125

Open
mkoskar opened this issue May 17, 2017 · 3 comments
Open

virtualedit's 'all' doesn't combine with 'block' #125

mkoskar opened this issue May 17, 2017 · 3 comments

Comments

@mkoskar
Copy link

mkoskar commented May 17, 2017

I have set virtualedit=block and [ov ]ov cov mappings doesn't do anything.

I would expect to all take effect and I suppose that was the idea behind current implementation that appends all to whatever the value of virtualedit is. Judging from :help virtualedit and some testing if all is to work it has to be a single value.

@kurkale6ka
Copy link

Hi. I also experienced this. 'all' only works alone: :se ve=all. The logic should be changed like so: first record the value of &ve in a global variable then when toggling set to all or the recorded value.

It might be a good idea for me to do a pull request :)

kurkale6ka added a commit to kurkale6ka/vim that referenced this issue Jan 25, 2019
@tpope
Copy link
Owner

tpope commented Feb 11, 2019

Could you test if virtualedit^=all to prepend it fairs any better?

@kurkale6ka
Copy link

Sorry, I should've mentioned but I tested that and there is no difference

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