Commit 010192bb by Pablo COVES

Plugin's instruction cleanup.

parent 21648164
......@@ -12,23 +12,34 @@ No fancy stuff in this [script](https://gitlab.com/pcoves/tmux/snippets/1687883/
* Git
## Usage
<kbd>Ctrl-S I</kbd> (that's a capital `i`) after starting tmux will install/update plugins.
## Plugins
### Add
1. Edit `~/.tmux/tmux.conf` and add git urls as in [here](https://github.com/tmux-plugins/tpm#installation)
2. See the Usage section.
#### Clone plugin
cd ~/.tmux
git submodule add pluginAddress plugins/pluginName
#### Enable plugin
Edit `~/.tmux.conf` and add a `run-shell` line to that will run the plugin on tmux's startup.
### Remove
1. Remove git urls added in the Add section.
2. See the Usage section.
#### Disable plugin
Edit `~/.tmux.conf` and remove the corresponding `run-shell` instruction.
#### Deinit plugin
cd ~/.tmux
git submodule deinit -f pluginPath
rm -rf .git/modules/pluginPath
git rm -f pluginPath
## Tips
### Auto-tmux
This boilerplate `bashrc` code will start a tmux session on terminal opening if needed or join an existing one otherwise.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment