vim layout switching generalized