psliwka / vim-smoothie

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

Extremely slow in firenvim #17

Closed xeruf closed 3 years ago

xeruf commented 4 years ago

I use firenvim, and oh my, the smooth scrolling is incredibly slow in there. I am now looking for a way to disable this plugin in all firenvim instances.

Reporting this here in case this can be fixed, or maybe disabled in firenvim by default, if others have the same issue.

xeruf commented 4 years ago

Used this to disable it:

if exists('g:started_by_firenvim')
    let g:smoothie_no_default_mappings=1 "extremely slow, see https://github.com/psliwka/vim-smoothie/issues/17
endif
glacambre commented 4 years ago

Hi, this is most probably a Firenvim issue - it'll be fixed once https://github.com/glacambre/firenvim/issues/347 is fixed :)

psliwka commented 4 years ago

Thank you for your input. Since the problem affects more UIs than just Firenvim (f.ex. slow SSH sessions), I've created #19 for possible generic improvements. #17 will stay dedicated to Firenvim-specific fixes/workarounds.

subnut commented 3 years ago

@xerus2000 I have tried to implement the minmal solution @psliwka mentioned in https://github.com/psliwka/vim-smoothie/issues/19#issue-679167114 Please test #21 using the following config -

let g:smoothie_disabled = 1

and report bugs, if any

psliwka commented 3 years ago

Note to myself: check whether https://github.com/glacambre/firenvim/issues/347 is fixed in a couple of months. If not (or the smooth scrolling is slow with it anyway), teach vim-smoothie to auto-disable itself if g:started_by_firenvim is set.

glacambre commented 3 years ago

@psliwka https://github.com/glacambre/firenvim/issues/347 has been fixed :)

psliwka commented 3 years ago

Awesome, thanks for update @glacambre!

@xerus2000: could you please re-test how does your firenvim+vim-smoothie setup perform with the new renderer?

xeruf commented 3 years ago

Works great, thanks for collaborating on this :)