On Sat, May 11, 2019 at 3:08 AM M Kelly wrote:
>
> > :map :set scrolljump=1p
> > :map :set scrolljump=1P
> > :map :set scrolljump=-50
>
> Hi,
>
> Thanks Tony.
> Is there a way around the recursion of mapping p to call a function that
> issues a p between setting
> Thanks Tony.
> Is there a way around the recursion of mapping p to call a function that
> issues a p between setting scrolljump values ? Perhaps with an alias ?
Hi,
Something weird, like this ???
function! MyPaste() abort
nnoremap p p
let =1
execute "normal p"
let =-50
nnoremap
> :map :set scrolljump=1p
> :map :set scrolljump=1P
> :map :set scrolljump=-50
Hi,
Thanks Tony.
Is there a way around the recursion of mapping p to call a function that
issues a p between setting scrolljump values ? Perhaps with an alias ?
thx,
-mark
--
--
You
On Sat, May 11, 2019 at 2:30 AM M Kelly wrote:
>
> Hi,
>
> I set scrolljump=-50, it works well for me.
> But sometimes when I paste it is annoying when the cursor jumps.
> I have experimented with:
>
> au InsertEnter * let =1
> au InsertLeave * let =-50
>
> but this doesn't seem to affect
Hi,
I set scrolljump=-50, it works well for me.
But sometimes when I paste it is annoying when the cursor jumps.
I have experimented with:
au InsertEnter * let =1
au InsertLeave * let =-50
but this doesn't seem to affect pasting.
Does anyone know of or have a suggestion for this ?
Could I remap