From f944c6455d14e8819e00ad3371d35a9465968d94 Mon Sep 17 00:00:00 2001 From: Klemens Nanni Date: Mon, 18 Jan 2021 18:12:45 +0100 Subject: Add example tmux(1) config Spawn one catgirl per network and handle reconnects through tmux, no extra tool required. --- scripts/chat.tmux.conf | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 scripts/chat.tmux.conf (limited to 'scripts/chat.tmux.conf') diff --git a/scripts/chat.tmux.conf b/scripts/chat.tmux.conf new file mode 100644 index 0000000..9191b1a --- /dev/null +++ b/scripts/chat.tmux.conf @@ -0,0 +1,31 @@ +# use `tmux -L chat -f ./chat.tmux.conf attach-session' (without any other +# options or parameters) to access this session group in its own tmux server, +# not interfering with existing servers/sessions/configurations +new-session -t chat + +# intuitive navigation +set-option -g mode-keys vi +set-option -g mouse on + +# indicate new messages +set-option -g monitor-activity on +set-option -g monitor-bell on + +# hardcode names during window creation +set-option -g automatic-rename off +set-option -g allow-rename off +set-option -g set-titles off +set-option -g renumber-windows on + +# clients exit on network errors, restart them automatically +# (use `kill-pane'/`C-b x' to destroy windows) +set-option -g remain-on-exit on +set-hook -g pane-died respawn-pane + + +## do not double-quote commands to avoid running through "sh -c" + +# IRC +new-window -n efnet -- catgirl efnet +new-window -n freenode -- catgirl freenode +new-window -n hackint -- catgirl hackint -- cgit 1.4.0 47a3b24c8bca2b6748344ba7fc'/>
path: root/home/.mkshrc (unfollow)
Commit message (Collapse)Author
2019-02-18Match Tag in RustJune McEnroe
2019-02-18Match sh functions as TagJune McEnroe
2019-02-18Match Sh and Ss as Tag in mdocJune McEnroe
2019-02-18Match statics and typedefs as TagJune McEnroe
2019-02-18Clean up htmlHeaderJune McEnroe
2019-02-18Remove hi line numberingJune McEnroe
Tags are much better for referring to specific parts of a file and line numbering is better done by a post-processing tool such as cat -n or producing a two-column HTML <table>.
2019-02-18Add Tag class to hiJune McEnroe
2019-02-17Generate HTML with hi -n -f html -o anchorJune McEnroe
Running hi twice to insert stuff between the head and the content is a bit of a hack but oh well.
2019-02-17Add hi -f html -o anchor for line number linksJune McEnroe
2019-02-17Simplify temp trap in upJune McEnroe
2019-02-17Add line numbers to hiJune McEnroe
Renames previous -n option to -m to stay consistent with cat -n. Prefixing lines with line numbers affects where the first tab indent ends up relative to the text above it. Not sure if it's worth fixing somehow.
2019-02-17Always split spans after newlinesJune McEnroe
Simplifies ANSI and IRC output code, and prepares for line numbered output.
2019-02-15Color format specifiers light cyan in vimJune McEnroe
2019-02-15Highlight Interp as yellowJune McEnroe
2019-02-15Highlight strings in sh command substitutionsJune McEnroe
2019-02-15Add nmap gpJune McEnroe
2019-02-14Avoid newline when copying URL to pasteboardJune McEnroe
2019-02-13Add forgotten "sixth" book of H2G2June McEnroe