From c3cfb415f86c48488a41e9ac44b2ca9c4cc5825b Mon Sep 17 00:00:00 2001 From: Toby Vincent Date: Tue, 29 Mar 2022 15:28:51 -0500 Subject: fix: fix stow issues with tmux --- tmux/.config/tmux/tmux.conf | 18 ++++++++++++++++++ tmux/.tmux.conf | 18 ------------------ 2 files changed, 18 insertions(+), 18 deletions(-) create mode 100644 tmux/.config/tmux/tmux.conf delete mode 100644 tmux/.tmux.conf (limited to 'tmux') 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' diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf deleted file mode 100644 index 7af5105..0000000 --- a/tmux/.tmux.conf +++ /dev/null @@ -1,18 +0,0 @@ -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' -- cgit v1.2.3-70-g09d2