ktonga / vim-follow-my-lead

Vim plugin for showing all your <Leader> mappings in a readable table including the descriptions.
105 stars 9 forks source link

Better buffer management #21

Closed bendk closed 8 years ago

bendk commented 8 years ago

Use a different strategy for finding existing buffers/windows. This one works when the buffer is closed without FMLClose() being called.

This fixes ktonga/vim-follow-my-lead#20

bendk commented 8 years ago

The first commit was overly complicated. Once I realized that buffer numbers aren't re-used I was able to simplify the code with the other commits.

ktonga commented 8 years ago

LGTM Could you please rebase, resolve conflicts and squash all in one commit? So I can merge it.

Thanks!

bendk commented 8 years ago

No problem. Thanks for the fast review/merging!