LoginSignup
2
4

More than 5 years have passed since last update.

tmuxにプラグインを導入する-2~install,uninstall(Using TPM)編~

Last updated at Posted at 2017-12-15

目次

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

Pluginをinstallする

  1. 新しいプラグインを、.tmux.confに次の様式で記述する set -g @plugin '...' 1
  2. tmuxを実行し、prefix2+I(大文字。Installの頭文字)を押すことで、pluginがcloneされ、soureされました!

Pluginをuninstallする

  1. pluginを、.tmux.confのリストから消すか、コメントアウトします。
  2. tmuxを実行し、prefix2+Alt+u(小文字。uninstallの頭文字。)を押すことで、pluginを削除できます。
    もしくは、pluginは全て~/.tmux/plugins/に管理されているので、そこからpluginを探し出して削除することでuninstallすることもできます

Keybinds

  • prefix2+I --> 'I'nstall. 新たなpluginsをインストールします。また、tmux環境のリフレッシュも行います。
  • prefix2+U(大文字) --> 'U'pdate. pluginのアップデートを行います。
  • prefix2+alt+u(小文字) --> .tmux.confのリストにないpluginをremove/uninstallします


  1. '...'について次の書き方が使用できます。
    - 'github_username/plugin_name'
    - 'git@github.com/user/plugin'
    - 'git@bitbucket.com/user/plugin'` 

  2. デフォルトではCtrl+bです 

2
4
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
2
4