I have a file with 400 + lines (this is a thesis). When I edit it somewhere near the top (say, on line 20), Vim is instantly, as always. However, editing it near the bottom (around line 400) causes a noticeable delay between the way I type and Vim displays it on the screen. As a result, itβs almost impossible to edit the file so large.
What is the reason for this and what can I do?
I tried switching swapfile , syntax , scrolloff , etc., but that doesn't seem to help. The maximum number of lines for Vim should be 2147483647, so I really have a long way to go :)
If this is related to installing maxmem , then what would be a reasonable value, considering that I edit files up to 2500 lines?
Thanks so much for any help! Greetings.
marttt
source share