Add tmux plugin manager

This commit is contained in:
Robin C. 2025-01-28 02:33:23 +01:00
parent d82bed4d98
commit cbafac1508
2 changed files with 3 additions and 0 deletions

View File

@ -38,6 +38,7 @@ echo
echo "Applying tmux dotfile..."
mkdir -p $XDG_CONFIG_HOME/tmux
ln -sf $SCRIPT_DIR/tmux/tmux.conf $XDG_CONFIG_HOME/tmux/tmux.conf
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
~/.tmux/plugins/tpm/bin/install_plugins
# Albert

View File

@ -5,6 +5,7 @@ My configuration for [tmux](https://github.com/tmux/tmux).
## Installation
Symlink `tmux.conf` to `$XDG_CONFIG_HOME/tmux/tmux.conf`.\
Install Tmux Plugin Manage using `git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm`\
Then either do Prefix + I in tmux or run `~/.tmux/plugins/tpm/bin/install_plugins`
## Automatic Installation (Linux)
@ -12,5 +13,6 @@ Then either do Prefix + I in tmux or run `~/.tmux/plugins/tpm/bin/install_plugin
```bash
mkdir -p $XDG_CONFIG_HOME/tmux
ln -s $PWD/tmux.conf $XDG_CONFIG_HOME/tmux/tmux.conf
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
~/.tmux/plugins/tpm/bin/install_plugins
```