How can I disable searching in a JupyterLab cell?

If I am in edit mode in a cell, JupyterLab overrides the find shortcut Ctrl + F. If I go into command mode, I can type Ctrl + F and use Chrome's find functionality.

How can I disable JupyterLab's override of the Ctrl + F shortcut while in edit mode, so that only Chrome's find is used?


Solution 1:

Under "Settings" > "Advanced Settings Editor", select "Keyboard Shortcuts" and in the "User Preferences" panel paste the following to disable the JupyterLab advanced document search. This will open a per-cell regex search on the first press, but a double Ctrl+F will open the browser search box as requested.

{
    "shortcuts": [
        {
            "command": "documentsearch:start",
            "keys": [
                "Accel F"
            ],
            "selector": ".jp-mod-searchable",
            "disabled": true
        }
    ]
}

Solution 2:

It seems there's no way to disable the Ctrl + F behavior of JupyterLab.

Instead, if you type Ctrl + F again in the cell search mode, you can enable Chrome's search functionality.