Remap H and L for beginning and end of line