Cannot switch out Normal mode in long file
karlhorky opened this issue · 5 comments
In a file that is 120,000 lines long (eg. index.json
in disposable-email-domains
), the i
, a
, o
, h
and l
command don't work (maybe others)
Just putting this here quickly as a placeholder, I may come back and add more details later
A few more details would be helpful! I just tried with an 18 meg ~500,000 line JSON file just now and everything works as expected, although VS Code did show a pop-up indicating it would be turning off syntax highlighting and some other features for performance reasons.
Interesting, did you try the exact same file as I had above? Maybe it's something with the long array?
Here's a video using the file contents of the file mentioned in the PR description above (I copied the contents to a new file called a.json
, in addition to editing the file directly in node_modules/disposable-email-domains/index.json
):
Kapture.2023-06-06.at.11.19.19.mp4
Thanks for the video! I will try take a look at this when I get some more time. I have been very busy with work lately and haven't been able to follow up on amVim 😞 There's a pending fix I merged but haven't released yet too...
No worries, whenever you get around to it :) I just wanted to report back with the video since I encountered it today again.