summaryrefslogtreecommitdiff
path: root/archive
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-11-27 12:06:58 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-11-29 18:36:23 -0700
commit84961b9e4c5c758e6d5936410866ab7df5c6be11 (patch)
tree6e4959ca5386bbd310ddd70470160976e92fb623 /archive
parentbaf36923b28ffe2b3f0e81ae65219c72e16b90c0 (diff)
downloaddotfiles-84961b9e4c5c758e6d5936410866ab7df5c6be11.tar.gz
tidy up .tmux.conf
Diffstat (limited to 'archive')
-rw-r--r--archive/.tmux.conf43
1 files changed, 43 insertions, 0 deletions
diff --git a/archive/.tmux.conf b/archive/.tmux.conf
new file mode 100644
index 00000000..c10c34e1
--- /dev/null
+++ b/archive/.tmux.conf
@@ -0,0 +1,43 @@
+# my launcher shortcuts: mnemonic is h for host and e for emacs/editor
+# E for e-mail
+bind M command-prompt -p "man" "split-window 'exec man %%'"
+bind m new-window -n mail mutt
+bind H command-prompt -p "mosh to host" "split-window 'mosh %1'"
+bind h command-prompt -p "mosh to host" "new-window -n %1 'mosh %1'"
+bind R command-prompt -p "ssh to host" "split-window 'ssh %1'"
+bind r command-prompt -p "ssh to host" "new-window -n %1 'ssh %1'"
+bind E split-window 'emacsclient -amg -t'
+bind t new-window -n irssi 'ii'
+
+# ---- old theming code ----
+
+# # --- status bar
+
+# set -g status-justify centre
+# setw -g monitor-activity on
+# set -g visual-activity on
+# set -g status-left-length 70
+# set -g status-left "#[fg=green]: #h"
+# set -g status-right-length 60
+# set -g status-right "#[fg=blue]#S #I:#P #[fg=yellow]:: %d %b %Y #[fg=green]:: %l:%M %p :: #(date -u | awk '{print $4}')::"
+
+# # --- zenburn from
+# # --- https://github.com/plathrop/dotfiles/blob/master/tmux/zenburn.conf
+
+# setw -g clock-mode-colour colour117
+# setw -g mode-attr bold
+# setw -g mode-fg colour117
+# setw -g mode-bg colour238
+# set -g status-bg colour235
+# set -g status-fg colour248
+# set -g status-attr dim
+# set -g status-left ' #[fg=colour174][ #[fg=colour187,bold]#(whoami)@#h #[fg=colour174]]'
+# set -g status-right '#[fg=colour174][ #[fg=colour187,bold]%d %h %H:%M #[fg=colour174]] '
+# set -g status-right-length 80
+# setw -g window-status-current-fg colour223
+# setw -g window-status-current-bg colour237
+# setw -g window-status-current-attr bold
+# set -g message-attr bold
+# set -g message-fg colour117
+# set -g message-bg colour235
+# set-option -g status-position top