LoginSignup
3
3

More than 5 years have passed since last update.

tmuxにプラグインを導入する-1~Tmux Plugin Manager導入編~

Last updated at Posted at 2017-12-15

目次

  1. TPMの導入(本編)
  2. TPMでのinstall,uninstall -> tmuxにプラグインを導入する-2
  3. おすすめプラグインは -> tmux-おすすめプラグイン

TPM(Tmux Plugin Manager)とは

tmuxのプラグインを管理するためのツールで、記事執筆時での最終更新日は2017/09/02
URL: https://github.com/tmux-plugins/tpm (この記事は、ここのREADMEの和訳です。)

必要環境(自分の環境)

  • Linux,OSX,Cygwinは動作確認済みとのこと(macOS Sierra 10.12.6)
  • tmux 1.9以上(2.6)
  • git (2.14.3)
  • bash (3.2.57)

TPMをインストールする

  1. Gitからcloneしてくる。
    $ git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
  2. ~/.tmux.confの末尾に、以下を追加する
#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 'git@github.com/user/plugin'
# set -g @plugin 'git@bitbucket.com/user/plugin'

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

3. Tmuxに.tmux.confを読み込ませる
$ tmux source ~/.tmux.conf
で、終了

Pluginのインストール・アンインストール

ページを分けたのでそちらへ -> tmuxにプラグインを導入する-2

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3