onivim / oni2

Native, lightweight modal code editor
https://v2.onivim.io
MIT License
7.83k stars 281 forks source link

Opening, searching long file #1670

Open kristojorg opened 4 years ago

kristojorg commented 4 years ago

Hi there,

First, thank you for working on this! I can't wait to use as my daily editor.

I was recently trying to open a long file (500k lines). I normally resort to neovim for this because Vscode is slow and becomes unresponsive sometimes. So I thought I'd try Onivim, seeing as it's backed by neovim as well.

Basically, opening the file took a good 5-10s, and searching within the file was quite slow. I then went and opened with neovim and it opened with normal speed, and then searching was much faster as well.

You can download the XML file here: https://mdq-preview.incommon.org/entities/idps/all

My System Mac osx 10.15.5 Beta Onivim 0.4.0

Maybe related to https://github.com/onivim/oni2/issues/684 , but also possibly not since in that case it opened instantly.

Let me know if I can do anything to help out there.

rogererens commented 4 years ago

I can confirm: using the Onivim2-x86_64.AppImage on MXLinux19.1 the XML file opens pretty fast (< 3s). However, when typing '/' to start performing a search, the /-dialog opens up with a blinking caret, but typing in it results in a disappearing caret and no searchpattern entered. So searching is not even slow, it's impossible. Onivim2 hangs and I have to close its window.

Samonitari commented 3 years ago

Things are looking very good, I have to open Onivim (1) less and less! With this, one more will be off of my list of daily-editor-blockers!