Skip to content

Ctrl-O prefixed commands not working in jupyterlab>=4.1.0 #138

@rpatel

Description

@rpatel

Description

Vim command shortcuts that start with Ctrl-O (i.e., Cut Cell, Copy Cell, Paste Cell, Insert Cell Below, Insert Cell Above, Select First Cell, Select Last Cell, Center Cell) are not working since jupyterlab 4.1.0.

At the moment, I am requiring versions jupyterlab==4.0.9 and jupyterlab-vim==4.1.0 to keep these bindings working.

Reproduce

  1. Fresh install:
    pip install 'jupyterlab>=4.1.0,<5.0.0a0' jupyterlab-vim

  2. In new notebook, any selected cell, edit mode, press Ctrl-O, O or Ctrl-O, Ctrl-O, or Ctrl-O, G, etc… the expected jupyter shortcut doesn't happen (i.e., insert cell below/above, select first cell).
    However, the editor does respond with the vim command mapped to the keys after the Ctrl-Os. For example, Ctrl-O, O inserts a new line and switches to insert mode, as if the ^O prefix was never pressed.

Context

  • Python version 3.12.2
    • jupyterlab==4.1.2
    • jupyter_server==2.12.5
    • jupyterlab-vim==4.1.3
  • Operating System and its version: CentOS 7
  • Browser and its version: Chrome 121.0.6167.139

Let me know if can provide any additional information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is neededupstreamUpstream issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions