vim-unimpaired
vim-unimpaired copied to clipboard
virtualedit's 'all' doesn't combine with 'block'
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.
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 :)
Could you test if virtualedit^=all to prepend it fairs any better?
Sorry, I should've mentioned but I tested that and there is no difference