psliwka / vim-smoothie

Smooth scrolling for Vim done rightšŸ„¤
MIT License
988 stars 27 forks source link

Handle `zz` and similar commands #26

Closed psliwka closed 2 years ago

psliwka commented 3 years ago

This is continuation of https://github.com/psliwka/vim-smoothie/issues/11#issuecomment-609037304

In another issue you mention that smoothie only works with commands that move the window over the buffer but not by moving the cursor. Does this apply to zz, zt and zb as well?

zz and friends are scrolling commands indeed, and should be quite easy to implement. I'd be glad to review a PR adding them ;)

psliwka commented 2 years ago

Implemented in f2aaab110b49da21ab7abf4858173e3194109f6a.

WhyNotHugo commented 2 years ago

Lovely! Thanks!