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

4 lines
72 B
Bash
Executable file

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