Steps to reproduce
- Activate vim navigation
- Open Dev Tools and see console
- go inside a table and navigate with vim
Did you follow the troubleshooting guide? [Y/N]
Yes, I tried in restricted mode and it happened too. That’s why I knew it’s not related to any plugins.
Expected result
No errors and no lag.
Actual result
I noticed it first as I had quite a lag in when navigating within my files. Usually, it’s blazingly fast. But I guess i narrowed it down to tables and vim mode.
Environment
Obsidian v.1.6.7
MacOS
vim.js:1006 TypeError: Cannot read properties of undefined (reading 'length')
at t.lineInner (app.js:1:250274)
at e.line (app.js:1:248273)
at e.getLine (app.js:1:1137920)
at clipCursorToContent (vim.js:3093:21)
at Object.evalInput (vim.js:1709:23)
at Object.processMotion (vim.js:1371:14)
at Object.processCommand (vim.js:1346:18)
at vim.js:999:37
at e.operation (app.js:1:1146299)
at vim.js:993:23
at Object.handleKey (vim.js:864:18)
at doKeyToKey (vim.js:1053:31)
at vim.js:997:19
at e.operation (app.js:1:1146299)
at vim.js:993:23
at Object.handleKey (vim.js:864:18)
at Object.multiSelectHandleKey (vim.js:6237:28)
at e.handleKey (app.js:1:1156852)
at e.keydown (app.js:1:1157905)
at app.js:1:375614
at e.runHandlers (app.js:1:373670)
at e.handleEvent (app.js:1:373432)
app.js:1 TypeError: Cannot read properties of undefined (reading 'length')
at t.lineInner (app.js:1:250274)
at e.line (app.js:1:248273)
at e.getLine (app.js:1:1137920)
at clipCursorToContent (vim.js:3093:21)
at Object.evalInput (vim.js:1709:23)
at Object.processMotion (vim.js:1371:14)
at Object.processCommand (vim.js:1346:18)
at vim.js:999:37
at e.operation (app.js:1:1146299)
at vim.js:993:23
at Object.handleKey (vim.js:864:18)
at doKeyToKey (vim.js:1053:31)
at vim.js:997:19
at e.operation (app.js:1:1146299)
at vim.js:993:23
at Object.handleKey (vim.js:864:18)
at Object.multiSelectHandleKey (vim.js:6237:28)
at e.handleKey (app.js:1:1156852)
at e.keydown (app.js:1:1157905)
at app.js:1:375614
at e.runHandlers (app.js:1:373670)
at e.handleEvent (app.js:1:373432)
Additional information
I made a video, but can’t upload unfortunately.
UPDATE: Also others had the same error, see Reddit. Their resolution didn’t work for me unfortunately.