Open vkrajacic89 opened 3 years ago
The current interface to do this would be smoothie#do('n')
and smoothie#do('N')
. The latter seems to work well, the former not so much (it scrolls to the first occurrence, but then is unable to proceed further). Another problem is that error messages if the pattern is not found are much uglier than with native commands.
But to actually scroll when I'm in commandline, I press /
and type something and smoothscroll comes in,
or with <c-g>
or <c-t>
.
In neovim neoscroll does this very well.
Thank you for the plugin.
I've made a PR that addresses n
and N
movement
I just tested @toombs-caeman PR and it works perfectly.
Hi, is it possible to implement scrolling for search motions (e.g. prev/next search result) using existing function
smoothie#cursor_movement(movement)
? Thanks!