Add RecolorAllWords to apply the colors to a split #25

Merged
merged 1 commit into from Jan 8, 2017

Projects

None yet

2 participants

@nedbat
Contributor
nedbat commented Jan 2, 2017

To help with #24 (Doesn't work across splits), I added a function RecolorAllWords that re-applies all the existing highlights. After splitting a window, ":call RecolorAllWords()" makes the highlights the same in both windows.

I didn't give it a key binding. I use k for it, but double-leader is unusual.

I also didn't add to the docs, though I can do that if you like the changes.

@nedbat nedbat referenced this pull request Jan 5, 2017
Closed

doesn't work across splits #24

@lfv89
Owner
lfv89 commented Jan 8, 2017

LGTM 👍

Thanks for your work.

@lfv89 lfv89 merged commit 1bb3927 into lfv89:master Jan 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment