92

The Power Of tmux Hooks - devel.tech

 6 years ago
source link: https://devel.tech/tips/n/tMuXz2lj/the-power-of-tmux-hooks/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
The default tmux leader key is Ctrl - b, for the remainder of this article, we will refer to the leader key as leader.The convention leaderkey means pressing leader and the key after the leader is released.tmux's set-hook is my new favorite feature. It is insanely powerful, and opens up the possibilities for a new level of tmux scripting.The basic layout of setting a tmux hook is this:By default, the hook applies to your current session.Like most other commands, you can set a target with -t, in this case, a session:If you want your script to be more resilient, you ...

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK