macro_rules! new_window {
(@cmd ($cmd:expr) -a, $($tail:tt)*) => { ... };
(@cmd ($cmd:expr) -b, $($tail:tt)*) => { ... };
(@cmd ($cmd:expr) -d, $($tail:tt)*) => { ... };
(@cmd ($cmd:expr) -k, $($tail:tt)*) => { ... };
(@cmd ($cmd:expr) -P, $($tail:tt)*) => { ... };
(@cmd ($cmd:expr) -S, $($tail:tt)*) => { ... };
(@cmd ($cmd:expr) -c $start_directory:expr, $($tail:tt)*) => { ... };
(@cmd ($cmd:expr) -e $environment:expr, $($tail:tt)*) => { ... };
(@cmd ($cmd:expr) -F $format:expr, $($tail:tt)*) => { ... };
(@cmd ($cmd:expr) -n $window_name:expr, $($tail:tt)*) => { ... };
(@cmd ($cmd:expr) -t $target_window:expr, $($tail:tt)*) => { ... };
(@cmd ($cmd:expr) $shell_command:expr, $($tail:tt)*) => { ... };
(@cmd ($cmd:expr)) => { ... };
() => { ... };
(($cmd:expr), $($tail:tt)*) => { ... };
($($tail:tt)*) => { ... };
}Expand description
Create new window
ยงManual
tmux >=3.2:
new-window [-abdkPS] [-c start-directory] [-e environment] [-F format] [-n window-name]
[-t target-window] [shell-command]
(alias: neww)tmux >=3.0:
new-window [-adkP] [-c start-directory] [-e environment] [-F format] [-n window-name] [-t
target-window] [shell-command]
(alias: neww)tmux >=1.7:
new-window [-adkP] [-c start-directory] [-F format] [-n window-name] [-t target-window]
[shell-command]
(alias: neww)tmux >=1.5:
new-window [-adkP] [-n window-name] [-t target-window] [shell-command]
(alias: neww)tmux >=0.8:
new-window [-d] [-n window-name] [-t target-window] [command]
(alias: neww)