Skip to content

Instantly share code, notes, and snippets.

@krassowski
Last active March 27, 2024 10:03
Show Gist options
  • Save krassowski/44b6f3b2b7e490d8d0de3a01e1b254b0 to your computer and use it in GitHub Desktop.
Save krassowski/44b6f3b2b7e490d8d0de3a01e1b254b0 to your computer and use it in GitHub Desktop.
JupyterLab 4.1.5 with overridden shortcut for accepting inline completion

JupyterLab 4.1.5 with overridden shortcut for accepting inline completion

Binder

{
"@jupyterlab/shortcuts-extension:shortcuts": {
"shortcuts": [
{
"args": {},
"command": "inline-completer:accept",
"keys": [
"Ctrl ArrowRight"
],
"selector": ".jp-mod-inline-completer-active"
},
{
"args": {},
"command": "inline-completer:accept",
"keys": [
"Alt End"
],
"disabled": true,
"selector": ".jp-mod-inline-completer-active"
}
]
}
}
#!/usr/bin/env bash
set -eux
mkdir -p ${NB_PYTHON_PREFIX}/share/jupyter/lab/settings
cp overrides.json ${NB_PYTHON_PREFIX}/share/jupyter/lab/settings
ipykernel>6
jupyterlab==4.1.5
jupyterlab_server>=2.25.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment