macro_rules! link_window {
    (@cmd ($cmd:expr) -a, $($tail:tt)*) => { ... };
    (@cmd ($cmd:expr) -d, $($tail:tt)*) => { ... };
    (@cmd ($cmd:expr) -k, $($tail:tt)*) => { ... };
    (@cmd ($cmd:expr) -s $src_window:expr, $($tail:tt)*) => { ... };
    (@cmd ($cmd:expr) -t $dst_window:expr, $($tail:tt)*) => { ... };
    (@cmd ($cmd:expr)) => { ... };
    () => { ... };
    (($cmd:expr), $($tail:tt)*) => { ... };
    ($($tail:tt)*) => { ... };
}
Expand description

Link the window at src-window to the specified dst-window

§Manual

tmux ^2.1:

link-window [-adk] [-s src-window] [-t dst-window]
(alias: linkw)

tmux ^0.8:

link-window [-dk] [-s src-window] [-t dst-window]
(alias: linkw)