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
Swiper performs very well on Org files, opening in less than 2 seconds on my 3400 init.org, but it takes five seconds to show up on a .vim file with 216 lines, and on an i3 config file with 392 lines. If I switch to text-mode it is still slow, but it works well if I change it to fundamental-mode. I use this functions to set relative numbers:
When I disable the line numbers Swiper responds much faster, but still a bit slower. I tried changing (setq display-line-numbers 'visual) to (setq display-line-numbers 'relative), and the performance does improve, but I on my init org file the numbers are so high that it's unpractical to navigate by line number (I'm an Evil user).
The text was updated successfully, but these errors were encountered:
on your init.vim file with relative line numbers. It took 0.2s for 100 runs, so that's 0.002s per run.
The issue is not reproducible on GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.18.9).
Swiper performs very well on Org files, opening in less than 2 seconds on my 3400
init.org
, but it takes five seconds to show up on a.vim
file with 216 lines, and on an i3 config file with 392 lines. If I switch totext-mode
it is still slow, but it works well if I change it to fundamental-mode. I use this functions to set relative numbers:And I have the following hooks to enable it:
When I disable the line numbers Swiper responds much faster, but still a bit slower. I tried changing
(setq display-line-numbers 'visual)
to(setq display-line-numbers 'relative)
, and the performance does improve, but I on my init org file the numbers are so high that it's unpractical to navigate by line number (I'm an Evil user).The text was updated successfully, but these errors were encountered: