remap line head and line end key