macro_rules! save_buffer {
(@cmd ($cmd:expr) -a, $($tail:tt)*) => { ... };
(@cmd ($cmd:expr) -b $buffer:expr, $($tail:tt)*) => { ... };
(@cmd ($cmd:expr) -t $target_session:expr, $($tail:tt)*) => { ... };
(@cmd ($cmd:expr) $path:expr, $($tail:tt)*) => { ... };
(@cmd ($cmd:expr)) => { ... };
() => { ... };
(($cmd:expr), $($tail:tt)*) => { ... };
($($tail:tt)*) => { ... };
}
Expand description
Save the contents of the specified paste buffer to path.
ยงManual
tmux ^2.0:
save-buffer [-a] [-b buffer-name] path
(alias: saveb)
tmux ^1.5:
save-buffer [-a] [-b buffer-index] path
(alias: saveb)
tmux ^0.8:
save-buffer [-a] [-b buffer-index] [-t target-session] path
(alias: saveb)