Skip to content

felipetruman/tmux-prefix-highlight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tmux prefix highlight

Plugin that highlights when you press tmux prefix key. Inspired by this thread on stackoverflow.

Many thanks to @obxhdx for showing me this trick.

Prefix off: prefix_off

Prefix on: prefix_on

Usage

Just add #{prefix_highlight} to your left/right status bar.

set -g status-right '#{prefix_highlight} | %a %Y-%m-%d %H:%M' 

Installation with Tmux Plugin Manager (recommended)

Add plugin to the list of TPM plugins:

set -g @plugin 'erickpintor/tmux-prefix-highlight' 

Press prefix + I to install it.

Manual Installation

Clone the repo:

$ git clone https://github.com/erickpintor/tmux-prefix-highlight.git ~/clone/path

Add this line to your .tmux.conf:

run-shell ~/clone/path/tmux-prefix-highlight.tmux 

Reload TMUX environment with:

$ tmux source-file ~/.tmux.conf

Configurations

set -f @prefix_highlight_fg 'white' set -f @prefix_highlight_bg 'blue' 

License

MIT

About

Plugin that highlights when you press tmux prefix key

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%