vim-smooth-scroll icon indicating copy to clipboard operation
vim-smooth-scroll copied to clipboard

Could it be possible to give float values as input?

Open blasco opened this issue 6 years ago • 0 comments

Right now we can use as input the "velocity", but I would like it to be between 1 and 2. Would it be possible to update the plugin so it can use a float value?

noremap :call smooth_scroll#up(&scroll, 0, 1)<CR> noremap :call smooth_scroll#down(&scroll, 0, 1)<CR>

This would be the ideal case for finer control:

noremap :call smooth_scroll#up(&scroll, 0, 1.3)<CR> noremap :call smooth_scroll#down(&scroll, 0, 1.3)<CR>

Any guidance on how this could be achieved would be much appreciated, I could latter create the PR

blasco avatar Oct 09 '19 09:10 blasco