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
It works fast in small files, but there's a large delay in large files (a few thousand lines), even if the separators are trivial to figure out, for example using diB in "tes|t" (where | is the cursor).
The text was updated successfully, but these errors were encountered:
Hey, thanks for opening this issue! The problem is that currently targets.vim checks each of the possible targets (,, ., ; and so on) and then selects the one closest to the cursor. So if some of those targets don't exist it basically has to scan the full file (possibly multiple times) before picking the best one. We need to make some changes to improve this. For example we could first check only the current line and return the best one if any is found. Otherwise check only visible lines and so on. I think this is a good idea but I can't promise you any improvements on this soon as I'm currently busy with other things. ✌️
(in case you care, I just opened a big PR adjust/rmq#88, next is to finish work on wellle/context.vim#10 (possibly other context.vim issues too), then finish #240 and then maybe something else like this 😉)
I use the following setting:
It works fast in small files, but there's a large delay in large files (a few thousand lines), even if the separators are trivial to figure out, for example using
diB
in"tes|t"
(where|
is the cursor).The text was updated successfully, but these errors were encountered: