From b5d17051cd347bae9e2804cd148a3763b00873f6 Mon Sep 17 00:00:00 2001 From: Yuan Chiu Date: Sun, 1 Jun 2025 13:49:37 +0800 Subject: [PATCH] add tmux: init TPM --- .chezmoiexternal.toml | 5 +++++ dot_tmux.conf | 12 ++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 dot_tmux.conf diff --git a/.chezmoiexternal.toml b/.chezmoiexternal.toml index a4967c1..da4007d 100644 --- a/.chezmoiexternal.toml +++ b/.chezmoiexternal.toml @@ -3,6 +3,11 @@ url = "https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim" refreshPeriod = "168h" +[".tmux/plugins/tpm"] + type = "git-repo" + url = "https://github.com/tmux-plugins/tpm" + refreshPeriod = "168h" + [".oh-my-bash"] type = "git-repo" url = "https://github.com/ohmybash/oh-my-bash" diff --git a/dot_tmux.conf b/dot_tmux.conf new file mode 100644 index 0000000..1b9949b --- /dev/null +++ b/dot_tmux.conf @@ -0,0 +1,12 @@ +# List of plugins +set -g @plugin 'tmux-plugins/tpm' +set -g @plugin 'tmux-plugins/tmux-sensible' + +# Other examples: +# set -g @plugin 'github_username/plugin_name' +# set -g @plugin 'github_username/plugin_name#branch' +# set -g @plugin 'git@github.com:user/plugin' +# set -g @plugin 'git@bitbucket.com:user/plugin' + +# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) +run '~/.tmux/plugins/tpm/tpm'