Pressing 'h' or 'v' while dragging/moving objects ...
# xschem
s
Pressing 'h' or 'v' while dragging/moving objects (wires, graphical element, components) will constrain the move to be horizontal or vertical respectively.