Last active
March 27, 2024 10:03
-
-
Save krassowski/44b6f3b2b7e490d8d0de3a01e1b254b0 to your computer and use it in GitHub Desktop.
JupyterLab 4.1.5 with overridden shortcut for accepting inline completion
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@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" | |
} | |
] | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ipykernel>6 | |
jupyterlab==4.1.5 | |
jupyterlab_server>=2.25.2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python-3.10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment