hampered scrolling behavior

26 views
Skip to first unread message

tooth pik

unread,
Jul 28, 2019, 3:02:26 PM7/28/19
to vim...@googlegroups.com
i love and use the CTRL-E and CTRL-Y scrolling commands so much i have
them mapped to F10 and F11 in my ~/.vimrc:

nnoremap <F10> <C-E>
inoremap <F10> <C-O><C-E>
nnoremap <F11> <C-Y>
inoremap <F11> <C-O><C-Y>

just today i noticed both up and down are impeded if i happen to be in
insert mode when i use them, going slower and in a jerky manner --
they both scroll beautifully when in normal mode

i wouldn't define this as a "problem," but a minor annoyance -- has
anyone else noticed the same?

Sihera Andre

unread,
Jul 29, 2019, 2:01:50 AM7/29/19
to vim...@googlegroups.com
Hi,

I'm using version 7.3.475 and there appears to be no problem here.
With your key mappings, scrolling is equally responsive both in Insert
mode and Normal mode.

Is it just C-E/C-Y? Or maybe it is it all cursor movement and you just
haven't noticed? Cursor movements appear to be written to the swap
file so slowed access to the swap file (e.g., when editing over NFS)
would cause a kind of sluggishness similar to what you appear to be
experiencing.

Cheers,

tooth pik

unread,
Jul 29, 2019, 3:55:37 PM7/29/19
to vim...@googlegroups.com
that's good information, thank you -- i didn't think the scroll
behavior used to be affected
by normal/insert mode (7.3.475 was current mar-16 of 2012)

my inference is that some overhead has been added to the <C-O>
function that temporarily
escapes from insert mode and then returns after whatever you've asked
it to do is done
> --
> --
> You received this message from the "vim_dev" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>
> ---
> You received this message because you are subscribed to the Google Groups "vim_dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+u...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/PSXP216MB0629550EF93B3E81A31639CEC0DD0%40PSXP216MB0629.KORP216.PROD.OUTLOOK.COM.
Reply all
Reply to author
Forward
0 new messages