Adding docs to help with setting up tmux.
This commit is contained in:
23
tmux/README.md
Normal file
23
tmux/README.md
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
# Shaun's `tmux` Dotfiles
|
||||||
|
|
||||||
|
## Location
|
||||||
|
The configuration files need to be present at this location, `~/.config/tmux`. So, we can use the following command to softlink/symlink,
|
||||||
|
|
||||||
|
```bash
|
||||||
|
ln -s <location of cloned dotfiles tmux directory> ~/.config/tmux
|
||||||
|
# e.g.
|
||||||
|
# ln -s ~/dotfiles/tmux ~/.config/tmux
|
||||||
|
```
|
||||||
|
|
||||||
|
## Install Plugin Manager (`tpm`)
|
||||||
|
We will use `tpm` as our plugin manager, but it cannot install itself. So we have to clone it into the proper place.
|
||||||
|
`git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpm`
|
||||||
|
|
||||||
|
## Install Plugins
|
||||||
|
Once the tmux symlink is created, we can install all plugins. This is done using tpm from within a tmux session.
|
||||||
|
```bash
|
||||||
|
tmux
|
||||||
|
<leader> I
|
||||||
|
# e.g.
|
||||||
|
# Ctrl+b Shift+i
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user