Peter's tmux configuration files
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
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.