Add -M to move-pane and default bindings for M-drag. From Michael Grant.

This commit is contained in:
nicm
2026-06-17 07:52:21 +00:00
parent eafd2bed5d
commit d4defd943a
4 changed files with 96 additions and 12 deletions

6
tmux.1
View File

@@ -3313,7 +3313,7 @@ or
reverses the sort order.
.Tg movep
.It Xo Ic move\-pane
.Op Fl bdfhv
.Op Fl bdfhMv
.Op Fl D Op Ar lines
.Op Fl l Ar size
.Op Fl L Op Ar columns
@@ -3385,6 +3385,10 @@ move it to an absolute position.
moves the pane to the given
.Ar z-index ,
where zero is the front.
.Pp
.Fl M
begins a mouse drag (only valid if bound to a mouse key binding, see
.Sx MOUSE SUPPORT ) .
.Tg movew
.It Xo Ic move\-window
.Op Fl abrdk