Peter's tmux configuration files
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Peter J. Jones 26622de885
Add a default.nix file
pirms 10 mēnešiem
bin Prevent orphan tmux sessions when closing terminal windows pirms 1 gada
config Prevent orphan tmux sessions when closing terminal windows pirms 1 gada
.gitignore Add a default.nix file pirms 10 mēnešiem
LICENSE Initial import from another repository pirms 2 gadiem
README.md Initial import from another repository pirms 2 gadiem
default.nix Add a default.nix file pirms 10 mēnešiem

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.