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

Slow VIM keymaps in marimo notebook #3197

Open
lborcard opened this issue Dec 17, 2024 · 1 comment
Open

Slow VIM keymaps in marimo notebook #3197

lborcard opened this issue Dec 17, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@lborcard
Copy link

Describe the bug

I think this is related to the size of my notebook but in one of my notebooks, vim keymaps are very slow. I press "I" for insert and it takes 3 seconds to enter insert mode. I don't feel anything different when operating in insert mode though. Anyone else noticed that?

Environment

{
"marimo": "0.9.32",
"OS": "Linux",
"OS Version": "4.18.0-553.27.1.el8_10.x86_64",
"Processor": "x86_64",
"Python Version": "3.11.10",
"Binaries": {
"Browser": "--",
"Node": "--"
},
"Dependencies": {
"click": "8.1.7",
"docutils": "0.19",
"itsdangerous": "2.2.0",
"jedi": "0.19.1",
"markdown": "3.6",
"narwhals": "1.13.2",
"packaging": "24.0",
"psutil": "5.9.8",
"pygments": "2.18.0",
"pymdown-extensions": "10.8.1",
"pyyaml": "6.0.1",
"ruff": "0.5.6",
"starlette": "0.37.2",
"tomlkit": "0.12.5",
"typing-extensions": "4.12.1",
"uvicorn": "0.30.1",
"websockets": "12.0"
},
"Optional Dependencies": {
"altair": "5.3.0",
"duckdb": "1.1.2",
"pandas": "2.2.2",
"polars": "1.12.0"
}
}

Code to reproduce

No response

@lborcard lborcard added the bug Something isn't working label Dec 17, 2024
@mscolnick
Copy link
Contributor

I think because we update the "mode" across all editors and that may set/unset listeners and cause re-renders. We can look into optimizing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants