On Wednesday, 30 May 2018 22:02:53 UTC+8, Luc Hermitte wrote:
> Hi,
>
> - Mail original -
> > I use https://github.com/terryma/vim-smooth-scroll and so I bind
> > & to ":call smooth_scroll#down(, 5, 2)" &
> > ":call smooth_scroll#up(, 5, 2)" respectively. However I
> > would like &
Hi,
- Mail original -
> I use https://github.com/terryma/vim-smooth-scroll and so I bind
> & to ":call smooth_scroll#down(, 5, 2)" &
> ":call smooth_scroll#up(, 5, 2)" respectively. However I
> would like & to default to their original behaviour if
> the smooth scroll plugin isn't
I use https://github.com/terryma/vim-smooth-scroll and so I bind &
to ":call smooth_scroll#down(, 5, 2)" & ":call
smooth_scroll#up(, 5, 2)" respectively. However I would like &
to default to their original behaviour if the smooth scroll plugin isn't
loaded.
I've tried this:
if