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

Cannot switch out Normal mode in long file #320

Open
karlhorky opened this issue Apr 18, 2023 · 5 comments
Open

Cannot switch out Normal mode in long file #320

karlhorky opened this issue Apr 18, 2023 · 5 comments
Labels

Comments

@karlhorky
Copy link
Contributor

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

@alisonatwork
Copy link
Collaborator

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.

@karlhorky
Copy link
Contributor Author

Interesting, did you try the exact same file as I had above? Maybe it's something with the long array?

@karlhorky
Copy link
Contributor Author

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

@alisonatwork
Copy link
Collaborator

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...

@karlhorky
Copy link
Contributor Author

No worries, whenever you get around to it :) I just wanted to report back with the video since I encountered it today again.

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

No branches or pull requests

2 participants