Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

fix: vim j/k keys (#2828)

Myles Scolnick7bebb7891c2c
diff --git a/frontend/src/components/editor/Cell.tsx b/frontend/src/components/editor/Cell.tsx
index 70552bb678..50fb4752d5 100644
--- a/frontend/src/components/editor/Cell.tsx
+++ b/frontend/src/components/editor/Cell.tsx
@@ -416,7 +416,7 @@ const CellComponent = (
},
// only register j/k movement if the cell is hidden, so as to not
// interfere with editing
- ...(userConfig.keymap.preset === "vim" && isCellCodeShown
+ ...(userConfig.keymap.preset === "vim" && !isCellCodeShown
? {
j: () => {
moveToNextCell({ cellId, before: false, noCreate: true });