• Stars
    star
    11,215
  • Rank 2,836 (Top 0.06 %)
  • Language
    Shell
  • License
    MIT License
  • Created almost 10 years ago
  • Updated 22 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Tmux Plugin Manager

Tmux Plugin Manager

Build Status

Installs and loads tmux plugins.

Tested and working on Linux, OSX, and Cygwin.

See list of plugins here.

Installation

Requirements: tmux version 1.9 (or higher), git, bash.

Clone TPM:

git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm

Put this at the bottom of ~/.tmux.conf ($XDG_CONFIG_HOME/tmux/tmux.conf works too):

# 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 '[email protected]:user/plugin'
# set -g @plugin '[email protected]:user/plugin'

# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'

Reload TMUX environment so TPM is sourced:

# type this in terminal if tmux is already running
tmux source ~/.tmux.conf

That's it!

Installing plugins

  1. Add new plugin to ~/.tmux.conf with set -g @plugin '...'
  2. Press prefix + I (capital i, as in Install) to fetch the plugin.

You're good to go! The plugin was cloned to ~/.tmux/plugins/ dir and sourced.

Uninstalling plugins

  1. Remove (or comment out) plugin from the list.
  2. Press prefix + alt + u (lowercase u as in uninstall) to remove the plugin.

All the plugins are installed to ~/.tmux/plugins/ so alternatively you can find plugin directory there and remove it.

Key bindings

prefix + I

  • Installs new plugins from GitHub or any other git repository
  • Refreshes TMUX environment

prefix + U

  • updates plugin(s)

prefix + alt + u

  • remove/uninstall plugins not on the plugin list

Docs

More advanced features and instructions, regular users probably do not need this:

Tests

Tests for this project run on Travis CI.

When run locally, vagrant is required. Run tests with:

# within project directory
./run_tests

License

MIT

More Repositories

1

tmux-resurrect

Persists tmux environment across system restarts.
Shell
10,702
star
2

tmux-continuum

Continuous saving of tmux environment. Automatic restore when tmux is started. Automatic tmux start when computer is turned on.
Shell
3,052
star
3

tmux-yank

Tmux plugin for copying to system clipboard. Works on OSX, Linux and Cygwin.
Shell
2,516
star
4

tmux-sensible

basic tmux settings everyone can agree on
Shell
1,593
star
5

tmux-copycat

A plugin that enhances tmux search
Shell
1,062
star
6

tmux-logging

Easy logging and screen capturing for Tmux.
Shell
994
star
7

list

A list of tmux plugins.
941
star
8

tmux-pain-control

standard pane key-bindings for tmux
Shell
713
star
9

tmux-open

Tmux key bindings for quick opening of a highlighted file or url
Shell
605
star
10

tmux-prefix-highlight

Plugin that highlights when you press tmux prefix key
Shell
528
star
11

tmux-sidebar

A sidebar with the directory tree for the current path. Tries to make tmux more IDE like.
Shell
518
star
12

tmux-battery

Plug and play battery percentage and icon indicator for Tmux.
Shell
467
star
13

tmux-sessionist

Lightweight tmux utils for manipulating sessions
Shell
399
star
14

tmux-cpu

Plug and play cpu percentage and icon indicator for Tmux.
Shell
393
star
15

vim-tmux-focus-events

Make terminal vim and tmux work better together.
Vim Script
342
star
16

vim-tmux

vim plugin for tmux.conf
Vim Script
330
star
17

tmux-fpp

Quickly open any path on your terminal window in your $EDITOR of choice!
Shell
295
star
18

tmux-urlview

Quickly open any url on your terminal window!
Shell
258
star
19

tmux-online-status

Tmux plugin that displays online status of your computer.
Shell
161
star
20

tmux-example-plugin

Example Tmux plugin that actually demonstrates how to build plugins for Tmux. The accompanying tutorial is here: https://github.com/tmux-plugins/tpm/blob/master/HOW_TO_PLUGIN.md
Shell
42
star
21

tmux-cowboy

Kill hanging processes fast
Shell
33
star
22

tmux-maildir-counter

Plugin that counts files on a specific mail directory
Shell
32
star
23

tmux-test

A small framework for isolated testing of tmux plugins.
Shell
16
star
24

language-tmux

Atom language support for Tmux config file
CoffeeScript
10
star
25

tmux-newsboat

Display newsboat counters in tmux status line.
Shell
8
star