If my inventory window is open and an item is active on my mouse cursor, pressing a number key should swap the item on my cursor with the item in the corresponding spot. The default behavior should place the item that was originally in the hotbar into your inventory, leaving your cursor empty. Shift-# could be a straight swap?