Quickly moving around code Hold down option/alt and use the arrow keys to quickly move around the current line or current selection. This is useful for reordering lists or shifting around blocks of code.