psliwka / vim-smoothie

Smooth scrolling for Vim done right🥤
MIT License
988 stars 27 forks source link

Add command to enable and disable smoothie #5

Closed pbzweihander closed 4 years ago

pbzweihander commented 4 years ago

In some situations, such as the terminal is getting slow, we may want to disable smoothie.

So I added SmoothieEnable and SmoothieDisable command to enable and disable smoothie quickly.

expelledboy commented 4 years ago

Nice work, how about rather set/unset a flag in the functions that have key bindings, then bind/unbind the default key bindings? That way if you create your own custom keybindings (see https://github.com/psliwka/vim-smoothie/pull/3) this still works 💪

psliwka commented 4 years ago

Sorry, @pbzweihander. I like the idea, but not the implementation.

That being said, thank you so much for your efforts in making vim-smoothie better! Feel free to reopen this PR or submit another one in case you rework your feature to take into account the issues mentioned above. It would be much appreciated 🙂