@@ -360,6 +360,7 @@ impl MappableCommand {
360360 jump_view_left, "Jump to the split to the left",
361361 jump_view_up, "Jump to the split above",
362362 jump_view_down, "Jump to the split below",
363+ transpose_view, "Transpose splits",
363364 rotate_view, "Goto next window",
364365 hsplit, "Horizontal bottom split",
365366 hsplit_new, "Horizontal bottom split scratch buffer",
@@ -3863,6 +3864,10 @@ fn jump_view_down(cx: &mut Context) {
38633864 cx.editor.focus_down()
38643865}
38653866
3867+fn transpose_view(cx: &mut Context) {
3868+ cx.editor.transpose_view()
3869+}
3870+
38663871// split helper, clear it later
38673872fn split(cx: &mut Context, action: Action) {
38683873 let (view, doc) = current!(cx.editor);