You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This works well in files with less than ~1000 lines, but there's a large delay in files with a few thousand lines. The problem seems to be <Plug>(operator-sandwich-replace), since if I try call feedkeys("\<Plug>(textobj-sandwich-auto-a)", 'm') it works fast enough, and if I try call feedkeys("\<Plug>(operator-sandwich-replace)ab*", 'm') (with plugin mappings turned off) it works
<Plug>(operator-sandwich-delete) works much faster.
The text was updated successfully, but these errors were encountered:
infokiller
changed the title
<Plug>(operator-sandwich-delete) is slow in large files<Plug>(operator-sandwich-delete) and <Plug>(operator-sandwich-replace) are slow in large files
May 6, 2020
infokiller
changed the title
<Plug>(operator-sandwich-delete) and <Plug>(operator-sandwich-replace) are slow in large files<Plug>(operator-sandwich-replace) is slow in large files
May 6, 2020
Thanks for the great plugin!
I'm using the following mapping:
This works well in files with less than ~1000 lines, but there's a large delay in files with a few thousand lines. The problem seems to be
<Plug>(operator-sandwich-replace)
, since if I trycall feedkeys("\<Plug>(textobj-sandwich-auto-a)", 'm')
it works fast enough, and if I trycall feedkeys("\<Plug>(operator-sandwich-replace)ab*", 'm')
(with plugin mappings turned off) it works<Plug>(operator-sandwich-delete)
works much faster.The text was updated successfully, but these errors were encountered: