From 2f7a49a974ca33201ac2eea583de572170f93cf1 Mon Sep 17 00:00:00 2001 From: Evelyn Alicke Date: Tue, 30 Nov 2021 14:28:23 +0100 Subject: [PATCH] add tmux files --- tmux/plugins/tmux-autoreload | 1 + tmux/plugins/tmux-continuum | 1 + tmux/plugins/tmux-menus | 1 + tmux/plugins/tmux-mode-indicator | 1 + tmux/plugins/tmux-open | 1 + tmux/plugins/tmux-resurrect | 1 + tmux/plugins/tmux-sensible | 1 + tmux/plugins/tmux-suspend | 1 + tmux/plugins/tpm | 1 + tmux/tmux.conf | 35 ++++++++++++++++++++++++++++++++ 10 files changed, 44 insertions(+) create mode 160000 tmux/plugins/tmux-autoreload create mode 160000 tmux/plugins/tmux-continuum create mode 160000 tmux/plugins/tmux-menus create mode 160000 tmux/plugins/tmux-mode-indicator create mode 160000 tmux/plugins/tmux-open create mode 160000 tmux/plugins/tmux-resurrect create mode 160000 tmux/plugins/tmux-sensible create mode 160000 tmux/plugins/tmux-suspend create mode 160000 tmux/plugins/tpm create mode 100644 tmux/tmux.conf diff --git a/tmux/plugins/tmux-autoreload b/tmux/plugins/tmux-autoreload new file mode 160000 index 0000000..727de2c --- /dev/null +++ b/tmux/plugins/tmux-autoreload @@ -0,0 +1 @@ +Subproject commit 727de2ccdbd7d065eef316c22715cc9951f4819f diff --git a/tmux/plugins/tmux-continuum b/tmux/plugins/tmux-continuum new file mode 160000 index 0000000..44e6be6 --- /dev/null +++ b/tmux/plugins/tmux-continuum @@ -0,0 +1 @@ +Subproject commit 44e6be6222a062809d0377e2b05dded900dc260f diff --git a/tmux/plugins/tmux-menus b/tmux/plugins/tmux-menus new file mode 160000 index 0000000..1f78865 --- /dev/null +++ b/tmux/plugins/tmux-menus @@ -0,0 +1 @@ +Subproject commit 1f788656beebc3a220071b15bd7b13e56a9a865f diff --git a/tmux/plugins/tmux-mode-indicator b/tmux/plugins/tmux-mode-indicator new file mode 160000 index 0000000..1152082 --- /dev/null +++ b/tmux/plugins/tmux-mode-indicator @@ -0,0 +1 @@ +Subproject commit 11520829210a34dc9c7e5be9dead152eaf3a4423 diff --git a/tmux/plugins/tmux-open b/tmux/plugins/tmux-open new file mode 160000 index 0000000..ab428e7 --- /dev/null +++ b/tmux/plugins/tmux-open @@ -0,0 +1 @@ +Subproject commit ab428e710af2c9eb05e794fa01bec9cd4a5f923e diff --git a/tmux/plugins/tmux-resurrect b/tmux/plugins/tmux-resurrect new file mode 160000 index 0000000..6be2f34 --- /dev/null +++ b/tmux/plugins/tmux-resurrect @@ -0,0 +1 @@ +Subproject commit 6be2f34b5f06c8a6a23dc3dc835e69c132d58a18 diff --git a/tmux/plugins/tmux-sensible b/tmux/plugins/tmux-sensible new file mode 160000 index 0000000..5d089e4 --- /dev/null +++ b/tmux/plugins/tmux-sensible @@ -0,0 +1 @@ +Subproject commit 5d089e418efb1a00f47654014ed085deb3d0c878 diff --git a/tmux/plugins/tmux-suspend b/tmux/plugins/tmux-suspend new file mode 160000 index 0000000..f7d59c0 --- /dev/null +++ b/tmux/plugins/tmux-suspend @@ -0,0 +1 @@ +Subproject commit f7d59c0482d949013851722bb7de53c0158936db diff --git a/tmux/plugins/tpm b/tmux/plugins/tpm new file mode 160000 index 0000000..693e5a2 --- /dev/null +++ b/tmux/plugins/tpm @@ -0,0 +1 @@ +Subproject commit 693e5a2a0f6acfd2666882655d5dfd32e8c6c50b diff --git a/tmux/tmux.conf b/tmux/tmux.conf new file mode 100644 index 0000000..520d141 --- /dev/null +++ b/tmux/tmux.conf @@ -0,0 +1,35 @@ +set -g @plugin 'tmux-plugins/tpm' +set -g @plugin 'tmux-plugins/tmux-sensible' +set -g @plugin 'MunifTanjim/tmux-suspend' +set -g @plugin 'MunifTanjim/tmux-mode-indicator' +set -g @plugin 'tmux-plugins/tmux-resurrect' +set -g @plugin 'tmux-plugins/tmux-continuum' +set -g @plugin 'tmux-plugins/tmux-open' +set -g @plugin 'jaclu/tmux-menus' +set -g @plugin 'b0o/tmux-autoreload' + +set -g @mode_indicator_prefix_prompt ' WAIT ' +set -g @mode_indicator_copy_prompt ' COPY ' +set -g @mode_indicator_sync_prompt ' SYNC ' +set -g @mode_indicator_empty_prompt ' TMUX ' +set -g @mode_indicator_prefix_mode_style 'bg=blue,fg=black' +set -g @mode_indicator_copy_mode_style 'bg=yellow,fg=black' +set -g @mode_indicator_sync_mode_style 'bg=red,fg=black' +set -g @mode_indicator_empty_mode_style 'bg=cyan,fg=black' + +set -g @suspend_key 'F12' +set -g @suspend_suspended_options " \ + status-style::bg=black\\,fg=brightblack bold dim, \ + window-status-current-style:gw:bg=brightblack\\,fg=black, \ + window-status-last-style:gw:fg=brightblack, \ + window-status-style:gw:bg=brightblack\\,fg=white, \ + @mode_indicator_custom_prompt:: SUSPENDED , \ + @mode_indicator_custom_mode_style::bg=brightred\\,fg=white, \ +" +set -g status-right '%Y-%m-%d %H:%M #{tmux_mode_indicator}' + +set -g pane-border-style fg='#666666' +set -g pane-active-border-style fg='#442244' +set -g status-style bg='#503070' + +run '~/.config/tmux/plugins/tpm/tpm'