add support of indicator start and end#13
Open
aacebedo wants to merge 1 commit intoMunifTanjim:masterfrom
Open
add support of indicator start and end#13aacebedo wants to merge 1 commit intoMunifTanjim:masterfrom
aacebedo wants to merge 1 commit intoMunifTanjim:masterfrom
Conversation
Owner
|
This plugin is intentionally kept simple. (ref: Line 17 in 7027903 What you want can be done like this: mode_separator_style="#[default]#{?client_prefix,#[fg=blue],#{?pane_in_mode,#[fg=yellow],#{?pane_synchronized,#[fg=brightred],#[fg=cyan]}}}"
mode_separator_start="${mode_separator_style}${mode_separator_style}#[reverse]"
mode_separator_end="${mode_separator_style}${mode_separator_style}#[default]"
set -g @mode_indicator_prefix_prompt "${mode_separator_start}WAIT${mode_separator_end}"
set -g @mode_indicator_prefix_mode_style ""
set -g @mode_indicator_copy_prompt "${mode_separator_start}COPY${mode_separator_end}"
set -g @mode_indicator_copy_mode_style ""
set -g @mode_indicator_sync_prompt "${mode_separator_start}SYNC${mode_separator_end}"
set -g @mode_indicator_sync_mode_style ""
set -g @mode_indicator_empty_prompt "${mode_separator_start}TMUX${mode_separator_end}"
set -g @mode_indicator_empty_mode_style ""
set -g @plugin 'MunifTanjim/tmux-mode-indicator' |
|
Use |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I have added the support of characters at the start and the end of the indicator.

It is backward compatible with current behaviour and allow to create nice pill like indicator like this: