Created
June 7, 2020 13:29
-
-
Save ethagnawl/db27bba3c4cccdc30ade2a0c54f49723 to your computer and use it in GitHub Desktop.
tmux pane titles
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# tmux config file | |
# the rest of your config file ... | |
# This example creates a variable named `custom_pane_title` which will be | |
# displayed if and only if it has been set -- in this case by by your | |
# tmuxinator pane commands. | |
# This feature doesn't seem to be documented, otherwise I'd provide a link. | |
# I _believe_ this feature requires tmux >= 3.0 | |
set -g pane-border-format "#{pane_index}#{?@custom_pane_title,:#{@custom_pane_title},}:#{pane_title}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tmux set-option -p -t pane-name:0.0 @custom_pane_title "vim" && vim |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment