Add tmux plugin manager
This commit is contained in:
parent
d82bed4d98
commit
cbafac1508
1
setup.sh
1
setup.sh
@ -38,6 +38,7 @@ echo
|
|||||||
echo "Applying tmux dotfile..."
|
echo "Applying tmux dotfile..."
|
||||||
mkdir -p $XDG_CONFIG_HOME/tmux
|
mkdir -p $XDG_CONFIG_HOME/tmux
|
||||||
ln -sf $SCRIPT_DIR/tmux/tmux.conf $XDG_CONFIG_HOME/tmux/tmux.conf
|
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
|
~/.tmux/plugins/tpm/bin/install_plugins
|
||||||
|
|
||||||
# Albert
|
# Albert
|
||||||
|
@ -5,6 +5,7 @@ My configuration for [tmux](https://github.com/tmux/tmux).
|
|||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
Symlink `tmux.conf` to `$XDG_CONFIG_HOME/tmux/tmux.conf`.\
|
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`
|
Then either do Prefix + I in tmux or run `~/.tmux/plugins/tpm/bin/install_plugins`
|
||||||
|
|
||||||
## Automatic Installation (Linux)
|
## Automatic Installation (Linux)
|
||||||
@ -12,5 +13,6 @@ Then either do Prefix + I in tmux or run `~/.tmux/plugins/tpm/bin/install_plugin
|
|||||||
```bash
|
```bash
|
||||||
mkdir -p $XDG_CONFIG_HOME/tmux
|
mkdir -p $XDG_CONFIG_HOME/tmux
|
||||||
ln -s $PWD/tmux.conf $XDG_CONFIG_HOME/tmux/tmux.conf
|
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
|
~/.tmux/plugins/tpm/bin/install_plugins
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user