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
Slow to load editor - with or without file #1841
Comments
Is your server a small machine? In my experience micro generally takes 50-60ms to start up. The most costly parts of the startup are syntax highlighting, language detection, and Lua plugins, so you could try disabling these by setting the You can also enable |
try: nano ~/.config/micro/settings.json add or set : {
"clipboard": "terminal"
} |
Ah that's a good point, this slowdown might be caused by micro trying to connect to the xclip server for clipboard integration. As mentioned above you can set |
I just installed 2.0.7. It starts instantly and gives the message |
I faced with this error. maybe clipboard load in background should help? (i can make a pr) |
Want to confirm that this xclip seems to be the issue on wsl2 with no xserver running. |
Description of the problem or steps to reproduce
It takes 6 seconds to load the program, with or without any file.
Used to using nano which loads in less than a second on my server
It would be nice to have a replacement for nano, but most of the time when I edit on ssh, I am doing multiple edit, save, exit, repeat. Is it normal to take this long for the editor to load? Is there any way to speed it up?
Specifications
Version: 2.0.6
Commit hash: 60846f5
Compiled on June 24, 2020
Commit hash:
OS: Ubuntu 20.04
Terminal: bash
The text was updated successfully, but these errors were encountered: