LoginSignup
8
9

More than 5 years have passed since last update.

tmux-個人的おすすめプラグイン

Posted at

このページについて

個人的に便利だなと感じた、tmuxプラグインを載せていきます。
tmuxにプラグインを導入する方法については こちら

List

  • tmuxのプラグインマネージャー: tpm/tmux-sensible
  • status_barに電池残量表示: tmux-battery
  • status_barにwifi接続状況表示: tmux-online-status
  • status_barにcpu使用率を表示: tmux-cpu
  • pane内のurlに素早くアクセス: tmux-urlview
  • 再起動後もtmux画面を保持する: tmux-resurrect

tpm/tmux-sensible

tmuxのプラグインマネージャーを扱うために必要なプラグイン。
これがあるとプラグインの導入・管理も楽々!
url: https://github.com/tmux-plugins/tpm

tmux-battery

status_barに電池残量を表示してくれる。mac等でフルスクリーンモードの時など便利
url: https://github.com/tmux-plugins/tmux-battery

tmux-online-status

status_barにwifi接続状況を表示してくれる。同じくmac等でフルスクリーンモードの時など便利
url: https://github.com/tmux-plugins/tmux-online-status

tmux-cpu

status_barにcpu使用率を表示してくれる。やったね、これでアクティビティモニタ開かなくても見れる! これまた、mac等でフルスクリーンモードの時など便利
url : https://github.com/tmux-plugins/tmux-cpu

tmux-urlview

prefix+<ctrl>+uで、現在使っているpaneに表示されているurlのリストを表示、選択してwebブラウザでそのurlを開くことができる。

 <X_X>:~ $https://qiita.com/Cj-bc/items/7227c45cdfc86a927b44
 -bash: https://qiita.com/Cj-bc/items/7227c45cdfc86a927b44: No such file or directory
 <X_X>:~ $https://google.co.jp
 -bash: https://google.co.jp: No such file or directory
 <X_X>:~ $https://youtube.com
 -bash: https://youtube.com: No such file or directory

このように同じurlが複数ある場合でも

UrlView 0.9: (3 matches) Press Q or Ctrl-C to Quit!

->    1 https://qiita.com/Cj-bc/items/7227c45cdfc86a927b44
      2 https://google.co.jp
      3 https://youtube.com

重複せずに数えてくれる。便利。

url: https://github.com/tmux-plugins/tmux-urlview

tmux-resurrect

tmuxのセッションは、たとえ<prefix>+dでデタッチしていたとしてもPC本体を再起動するとデフォルトでは消えてしまう。そんな時助かるのがこれ。
<prefix>+<Ctrl>+sで現在のセッションを丸ごとセーブしてくれる。
設定によっては、各pane上で動いているプログラムのプロセスまで保存してくれる。(設定は下記)
set -g @resurrect-capture-pane-counts 'on'

url: https://github.com/tmux-plugins/tmux-resurrect

8
9
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
8
9