30/5/2023, 12:06 pm
Most of the tmux shortcut required ctrl + b, <some_alphabet>
which become a headache as it is similar
to JupyterLab left-toggle shortcut that is ctrl + b
. Hence, I want to disable the JupyterLab shortcut, so I can use tmux
happily.
- In the Sagemaker JupyterLab, open
Settings
>Advance Setting Editor
. - Search for "Keyboard"
- Click the Keyboard Shortcuts
- On the top left of the page, you can see JSON Settings Editor. Click it.
- You will see a JSON/dictionary form that represents the shortcuts.
- Add the following line within the
shortcuts
value.
{
"command": "application:toggle-left-area",
"keys": [
"Accel B"
],
"selector": "body",
"disabled": true
}
- Save it.
- Boom, disabled left-toggle shortcut, use tmux happily.