Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

very slow with long files #615

Open
g-i-o-r-g-i-o opened this issue Dec 15, 2022 · 1 comment
Open

very slow with long files #615

g-i-o-r-g-i-o opened this issue Dec 15, 2022 · 1 comment

Comments

@g-i-o-r-g-i-o
Copy link

Preservim is really slow with long files that contain numbers as the first character

For example I have a file made of 5000 lines, and it takes about 2 seconds to enter insert mode.

This happens on windows and on linux, with the latest vim.

I can't post the file for copyright reasons :-(

  1. zzz
  2. zzz
  3. zzz
  4. zzz
  5. zzz
  6. zzz
  7. zzz
  8. zzz
  9. zzz
  10. zzz
  11. zzz
  12. zzz
  13. zzz
  14. zzz
  15. zzz
  16. zzz
  17. zzz
  18. zzz
  19. zzz
  20. zzz
  21. zzz
  22. zzz
  23. zzz
  24. zzz
  25. zzz
  26. zzz
  27. zzz
  28. zzz
  29. zzz
  30. zzz
  31. zzz
  32. zzz
  33. zzz
  34. zzz
  35. zzz
  36. zzz
  37. zzz
  38. zzz
  39. zzz
  40. zzz
  41. zzz
  42. zzz
  43. zzz
@meonkeys
Copy link

meonkeys commented Jan 19, 2023

Thank you for reporting. I had the same issue. Disabling folding fixed poor performance with large Markdown files for me.

See also: https://fosstodon.org/@meonkeys/109604133237227739

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants