aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tmux/.config
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2022-03-29 15:28:51 -0500
committerToby Vincent <tobyv13@gmail.com>2022-03-29 15:28:51 -0500
commitc3cfb415f86c48488a41e9ac44b2ca9c4cc5825b (patch)
tree4682525a7d8226fe8ebcb4ba157b59442f3010d9 /tmux/.config
parent0360f381b3bdd38da4902b4b631a6122185e277c (diff)
fix: fix stow issues with tmux
Diffstat (limited to 'tmux/.config')
-rw-r--r--tmux/.config/tmux/tmux.conf18
1 files changed, 18 insertions, 0 deletions
diff --git a/tmux/.config/tmux/tmux.conf b/tmux/.config/tmux/tmux.conf
new file mode 100644
index 0000000..7af5105
--- /dev/null
+++ b/tmux/.config/tmux/tmux.conf
@@ -0,0 +1,18 @@
+set -g mouse on
+set -g base-index 1
+set -g default-terminal "tmux-256color"
+set -ga terminal-overrides ",alacritty:Tc"
+set -g detach-on-destroy off
+set -g prefix C-a
+
+bind-key f run-shell "tmux neww -n sessionizer ~/.local/bin/tmux-sessionizer"
+
+set -g @plugin 'tmux-plugins/tpm'
+set -g @plugin 'tmux-plugins/tmux-sensible'
+set -g @plugin 'tmux-plugins/tmux-yank'
+set -g @plugin 'tmux-plugins/tmux-pain-control'
+
+if "test ! -d ~/.tmux/plugins/tpm" \
+ "run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"
+
+run '~/.tmux/plugins/tpm/tpm'