nix/home/scripts/common/bin/tmux-edit-buffer

5 lines
72 B
Bash
Executable file

#!/usr/bin/env sh
f="$(tmux-save-buffer)"
tmux new-window "$EDITOR $f"