You can only use:
Button 1 (LMB) for moving and splitting items
Button 2 (RMB) for splitting items
LShift for moving stacks of items between inventories and hotbar
LControl for combination with Drop button to throw multiple items
If you change controls (that use these buttons as default) to use other buttons, new buttons won't work in inventory, and old buttons will still work
Old description:
The shift key used in inventory menu to move one stack of item between chest and inventory cannot be reconfigured through the option > Control settings panel.
Although the sneak key can be remapped, the key to move one stack of item to chest/inventory is still mapped to shift.
Info : i remaped the sneak action key to CapsLock, but i guess the move action key is hard coded to shift.
Related issues
is duplicated by
relates to
Comments


I want to say that stack-moving with the Shift key is hard-coded and cannot be changed.

That's exactly what this report describes...

Relates to MC-577

Also, there is no setting to select what input cycles through the hotbar; it is permanently fixed to the vertical scroll wheel. Admittedly, resolving this would require issue MC-85743 to be fixed as well, which has been marked as "invalid".
This kinda-sorta relates to MC-42367, but only in that comments on that issue requested a way to disable the scroll wheel as a work around.

Confirmed for 1.15.2 and 20w16a

when i change Hotbar keys press 1 2 3 it changes to obj now i can't use anymore

Affects 1.18.1
Relates to MC-147718

Affects 1.19
Can confirm in 1.19.2.

Can confirm, still in 1.20.2 Pre-release 2.
Probably also for Ctrl for copying block NBT data