psliwka / vim-smoothie

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

Ctrl-d not working #25

Closed timonson closed 3 years ago

timonson commented 3 years ago

Thank you for this amazing plugin!

All key combinations work with the exception of Ctrl-d. When pressing Ctrl-d the cursor jumps immediately to the right position but without smooth scrolling.

I checked :nnoremap <C-d> which says no mapping.

Could you maybe give me a recommendation on how to debug this? Thank you!

System: arch Vim: 8.2

timonson commented 3 years ago

I found the cause for this issue. I have the mapping vnoremap <C-d> "+d<ESC> in my vimrc. I did not expect this mapping to influence the behavior in non-visual mode. Is it expected behavior that C-d does not scroll smoothly in normal mode with the mentioned mapping?

psliwka commented 3 years ago

Could not reproduce – vnoremap <C-d> "+d<ESC> does not break smooth ^D in normal mode for me. Tested with NVIM v0.4.4.

timonson commented 3 years ago

Well, it is happening in vim. Not sure why you closed this issue. Is this plugin exclusively for nvim?

psliwka commented 3 years ago

I tested it under VIM 8.2 (patches 1-2500) too, and I couldn't reproduce it either. I closed the ticket because there is nothing more we can do to proceed here I'm afraid. However, feel more than welcome to post additional details if you think we can resurrect it ;)