Answer for German - (and other non-international) keyboards:
Since the previous answer does not work on a German keyboard I describe the problem for this keyboard and then I describe a solution for this keyboard which shall work similarly on other keyboards as well.
1. Problem with current settings
"[" and "]" on an international keyboard are the two keys right of "p".
On the German keyboard "ä" and "+".
"ctrl shift ä" switches to the left/previous tab as expected.
But "ctrl shift +" as well as "ctrl shift ]" does not switch to the next/right.
I tried almost every shortcut. But had to change the shortcuts themselves.
2. The problem of choosing a new shortcut
Since "ctrl shift ä" worked as expected I tried to change the other shortcut to "ctrl shift +". And since the other two assignments of the key "+" on a German Keyboard are "*" and "~" I tried "ctrl shift *" and "ctrl shift ~" as well.
After saving, all failed to work, when I tested them.
3. Solution
Here is a description of how to change the shortcuts in Jupyter Lab.
I chose the shortcuts "Ctrl Shift 8" and "Ctrl Shift 9" since “8” and “9” are on the same keys as “[“ and “]”. Then you have to enter the following code as described in the link above.
Steps:
In Jupyter-Lab:
- "settings"
- "Advanced Settings Editor"
- "Keyboard Shortcuts"
- In the now appearing field "User Preferences", if empty: copy the following dictionary. If the field is not empty add or adapt the key "shortcuts" accordingly:
_
{
"shortcuts": [
{
"command": "application:activate-previous-tab",
"keys": [
"Ctrl Shift 8"
],
"selector": "body"
},
{"command": "application:activate-next-tab",
"keys": [
"Ctrl Shift 9"
],
"selector": "body"
}
]
}