summary refs log tree commit diff
path: root/scripts/chat.tmux.conf
AgeCommit message (Collapse)Author
2021-07-15chat.tmux.conf: Fix base-index settingKlemens Nanni
"base-index" expects integer values, tmux prints a warning at load-time but otherwise ignores the configuration line.
2021-06-17chat.tmux.conf: Make window selection hotkeys match window numbersKlemens Nanni
The 'pick chat network' binding on F1 lists tmux windows as follows and tmux's `choose-tree -Z' lets you jump to the window by pressing the key denoted inside parantheses. Set `base-index 1' so as to make window indices match up the hotkey number instead of being off-by-one due to the session itself being the first entry in the list. (0) - chat-5: 8 windows (group chat: chat-0,chat-1,chat-2,chat-3,chat-4,chat-5,chat-6) (attached) (1) ├─> 1: hackint: "example.com" (2) ├─> 2: efnet: "example.com" ... PS: Update existing sessions by updating chat.tmux.conf, pressing F5 then running `prefix-: move-window -r' to renumber all windows.
2021-05-19Replace freenode with tilde.chatC. McEnroe
2021-03-10chat.tmux.conf: use config_files format for reloadKlemens Nanni
The recent addition of "#{source_files}" allows us to avoid hardcoding the file name and instead ask tmux itself for the very file it used to create the session in the first place, i.e. "-f ./chat.tmux.conf".
2021-02-08chat.tmux.conf: Add help window for restricted mode, use neww -SKlemens Nanni
Provide a hotkey to browser the manual in its own window. After input, nicm (tmux upstream) added "-S" to tmux(1) such that the "new-window" command (in combination with "-d") first looks for the given window name and selects the window if it exists instead of trying to create a window that already exists. Given that this makes chat.tmux.conf idempotent, we can now also reload it at runtime to refresh settings.
2021-02-03chat.tmux.conf: Improve respawn, fix commentKlemens Nanni
Only respawn the pane not the entire window to avoid killing other possibly existing panes in the same window.
2021-01-28Add key bindings to chat.tmux.conf, nitsKlemens Nanni
2021-01-18Add example tmux(1) configKlemens Nanni
Spawn one catgirl per network and handle reconnects through tmux, no extra tool required.