Window.move_window
Move current Window object $ tmux move-window.
Source and package
-
- Parameters
-
-
destination(str) # – Thetarget windowor index to move the window to, default: empty string. -
session(str | None) # – Thetarget sessionor index to move the window to, default: current session. -
after(bool | None) # – Insert after the target window (-aflag). added 0.56 -
before(bool | None) # – Insert before the target window (-bflag). added 0.56 -
no_select(bool | None) # – Do not make the moved window the current window (-dflag). added 0.56 -
kill_target(bool | None) # – Kill the target window if it exists (-kflag). added 0.56 -
renumber(bool | None) # – Renumber all windows in sequential order (-rflag). This is a standalone operation — when used, no move is performed and other parameters are ignored. added 0.56
-
- Returns
-
WindowSelf, for method chaining. - Raises
-
-
libtmux
.exc – If tmux returns an error..Lib Tmux Exception
-
tmux command
move-windowIn other ports Move a window to another session or index
- PowerShell No source-verified PowerShell equivalent is recorded for this operation.
- Julia No source-verified Julia equivalent is recorded for this operation.
- Ruby No source-verified Ruby equivalent is recorded for this operation.
- Lua
- TypeScript
- Rust
- Go
- Java
- C#
- C++
- Swift
- Kotlin No source-verified Kotlin equivalent is recorded for this operation.
- Scala No source-verified Scala equivalent is recorded for this operation.
- F# No source-verified F# equivalent is recorded for this operation.