macro_rules! kill_window {
    (@cmd ($cmd:expr) -a, $($tail:tt)*) => { ... };
    (@cmd ($cmd:expr) -t $target_window:expr, $($tail:tt)*) => { ... };
    (@cmd ($cmd:expr)) => { ... };
    () => { ... };
    (($cmd:expr), $($tail:tt)*) => { ... };
    ($($tail:tt)*) => { ... };
}
Expand description

Kill the current window or the window at target-window, removing it from any sessions to which it is linked

§Manual

tmux ^1.7:

kill-window [-a] [-t target-window]
(alias: killw)

tmux ^0.8:

kill-window [-a] [-t target-window]
(alias: killw)