wfxr/tmux-power

tmux prefix highlight doesn't work after adding tmux-power

rohitkrishna094 opened this issue ยท 1 comments

My Tmux config

# tmux power config
set -g @tmux_power_date_icon '๐Ÿ“…' # set it to a blank will disable the icon
set -g @tmux_power_time_icon '๐Ÿ•˜' # emoji can be used if your terminal supports
set -g @tmux_power_user_icon '๐Ÿ˜'
set -g @tmux_power_session_icon ' '
set -g @tmux_power_upload_speed_icon 'โ†‘'
set -g @tmux_power_download_speed_icon 'โ†“'
set -g @tmux_power_left_arrow_icon ' < '
set -g @tmux_power_right_arrow_icon ' > '
set -g @tmux_power_theme 'moon'

set -ag status-left '#{prefix_highlight}'
set-window-option -g window-status-current-bg '#CEA163'

# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'wfxr/tmux-power'
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'

# set prefix as backtick
unbind C-b
set -g prefix `
bind-key ` send-prefix
# a suggestion by stackoverflow user below to activate ctrl+a and revert it back to backtick in case of conflicts
# bind-key C-a set-option -g prefix C-a
# bind-key C-b set-option -g prefix `

set -g display-panes-time 3000
set -sg escape-time 0

# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run -b '~/.tmux/plugins/tpm/tpm'

And when I press prefix key, it doesn't highlight anything:

image

I tried the approach suggested in another issue #8, but its not working for me.

It works now. I added this line to my tmux config.

set -g @tmux_power_prefix_highlight_pos 'LR'