From bf4730a1f3af372fc09ec4448f5e367c1dfe863e Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Fri, 11 Aug 2023 11:55:14 +0300 Subject: [PATCH] fix(tmux): added tmux plugins as git submodules --- .gitmodules | 39 ++++++++++++++++++++++++++++++++++ add-submodules.sh | 16 ++++++++++++++ config/tmux/plugins/catppuccin | 1 + config/tmux/tmux.conf | 1 - 4 files changed, 56 insertions(+), 1 deletion(-) create mode 160000 config/tmux/plugins/catppuccin diff --git a/.gitmodules b/.gitmodules index 4303cae..895b8bf 100644 --- a/.gitmodules +++ b/.gitmodules @@ -29,3 +29,42 @@ path = config/tmux/plugins/tpm url = https://github.com/tmux-plugins/tpm.git ignore = dirty +[submodule "tmux/catppuccin"] + path = config/tmux/plugins/catppuccin + url = https://github.com/catppuccin/tmux.git +[submodule "tmux/tmux-1password"] + path = config/tmux/plugins/tmux-1password + url = https://github.com/yardnsm/tmux-1password.git +[submodule "tmux/tmux-autoreload"] + path = config/tmux/plugins/tmux-autoreload + url = https://github.com/b0o/tmux-autoreload.git +[submodule "tmux/tmux-continuum"] + path = config/tmux/plugins/tmux-continuum + url = https://github.com/tmux-plugins/tmux-continuum +[submodule "tmux/tmux-fzf"] + path = config/tmux/plugins/tmux-fzf + url = https://github.com/sainnhe/tmux-fzf.git +[submodule "tmux/tmux-menus"] + path = config/tmux/plugins/tmux-menus + url = https://github.com/jaclu/tmux-menus.git +[submodule "tmux/tmux-notify"] + path = config/tmux/plugins/tmux-notify + url = https://github.com/ChanderG/tmux-notify.git +[submodule "tmux/tmux-resurrect"] + path = config/tmux/plugins/tmux-resurrect + url = https://github.com/tmux-plugins/tmux-resurrect +[submodule "tmux/tmux-sensible"] + path = config/tmux/plugins/tmux-sensible + url = https://github.com/tmux-plugins/tmux-sensible.git +[submodule "tmux/tmux-sessionist"] + path = config/tmux/plugins/tmux-sessionist + url = https://github.com/tmux-plugins/tmux-sessionist.git +[submodule "tmux/tmux-suspend"] + path = config/tmux/plugins/tmux-suspend + url = https://github.com/MunifTanjim/tmux-suspend.git +[submodule "tmux/tmux-yank"] + path = config/tmux/plugins/tmux-yank + url = https://github.com/tmux-plugins/tmux-yank.git +[submodule "tmux/vim-tmux-navigator"] + path = config/tmux/plugins/vim-tmux-navigator + url = https://github.com/christoomey/vim-tmux-navigator.git diff --git a/add-submodules.sh b/add-submodules.sh index a7ed16f..a59fcfd 100755 --- a/add-submodules.sh +++ b/add-submodules.sh @@ -4,4 +4,20 @@ git submodule add --name dotbot -f https://github.com/anishathalye/dotbot.git to git submodule add --name dotbot-brew -f https://github.com/wren/dotbot-brew.git tools/dotbot-brew git submodule add --name dotbot-include -f https://gitlab.com/gnfzdz/dotbot-include.git tools/dotbot-include git submodule add --name cheat-community -f https://github.com/cheat/cheatsheets.git config/cheat/cheatsheets/community + +# tmux plugin manager and plugins git submodule add --name tmux/tpm -f https://github.com/tmux-plugins/tpm.git config/tmux/plugins/tpm +git submodule add --name tmux/catppuccin -f https://github.com/catppuccin/tmux.git config/tmux/plugins/catppuccin +git submodule add --name tmux/tmux-1password -f https://github.com/yardnsm/tmux-1password.git config/tmux/plugins/tmux-1password +git submodule add --name tmux/tmux-autoreload -f https://github.com/b0o/tmux-autoreload.git config/tmux/plugins/tmux-autoreload +git submodule add --name tmux/tmux-continuum -f https://github.com/tmux-plugins/tmux-continuum config/tmux/plugins/tmux-continuum +git submodule add --name tmux/tmux-fzf -f https://github.com/sainnhe/tmux-fzf.git config/tmux/plugins/tmux-fzf +git submodule add --name tmux/tmux-menus -f https://github.com/jaclu/tmux-menus.git config/tmux/plugins/tmux-menus +git submodule add --name tmux/tmux-notify -f https://github.com/ChanderG/tmux-notify.git config/tmux/plugins/tmux-notify +git submodule add --name tmux/tmux-resurrect -f https://github.com/tmux-plugins/tmux-resurrect config/tmux/plugins/tmux-resurrect +git submodule add --name tmux/tmux-sensible -f https://github.com/tmux-plugins/tmux-sensible.git config/tmux/plugins/tmux-sensible +git submodule add --name tmux/tmux-sessionist -f https://github.com/tmux-plugins/tmux-sessionist.git config/tmux/plugins/tmux-sessionist +git submodule add --name tmux/tmux-suspend -f https://github.com/MunifTanjim/tmux-suspend.git config/tmux/plugins/tmux-suspend +git submodule add --name tmux/tmux-yank -f https://github.com/tmux-plugins/tmux-yank.git config/tmux/plugins/tmux-yank +git submodule add --name tmux/vim-tmux-navigator -f https://github.com/christoomey/vim-tmux-navigator.git config/tmux/plugins/vim-tmux-navigator + diff --git a/config/tmux/plugins/catppuccin b/config/tmux/plugins/catppuccin new file mode 160000 index 0000000..d60e40e --- /dev/null +++ b/config/tmux/plugins/catppuccin @@ -0,0 +1 @@ +Subproject commit d60e40e09793b1268e25bcea0417f70559d43c0a diff --git a/config/tmux/tmux.conf b/config/tmux/tmux.conf index 7ef9847..6e838dc 100644 --- a/config/tmux/tmux.conf +++ b/config/tmux/tmux.conf @@ -14,7 +14,6 @@ set -g @tpm_plugins ' \ yardnsm/tmux-1password \ jaclu/tmux-menus \ sainnhe/tmux-fzf \ - MunifTanjim/tmux-mode-indicator \ MunifTanjim/tmux-suspend \ tmux-plugins/tmux-continuum \ tmux-plugins/tmux-resurrect \