Peter's tmux configuration files
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Peter J. Jones 26622de885
Add a default.nix file
11 달 전
bin Prevent orphan tmux sessions when closing terminal windows 1 년 전
config Prevent orphan tmux sessions when closing terminal windows 1 년 전
.gitignore Add a default.nix file 11 달 전
LICENSE Initial import from another repository 2 년 전
README.md Initial import from another repository 2 년 전
default.nix Add a default.nix file 11 달 전

README.md

tmux: Configuration and Scripts

Peter’s tmux configuration file and helper scripts.

Scripts

Ensuring that Each Terminal Starts tmux

To ensure that every terminal I run is using tmux, my key binding for starting a terminal uses the bin/tmux-new-terminal script as its shell. For example, with urxvt:

$ urxvtc -e tmux-new-terminal

The tmux-new-terminal script creates a new tmux session named after the current workspace (if necessary) and then attaches a new session as a “grouped” session. This means that all terminals I have running in the same workspace share the same set of tmux windows and panes, but each terminal may have a different active, previous, and next window.