Skip to content

Make text selection color configurable #436

Open
@jphalip

Description

@jphalip

Is there an existing issue outlining your improvement?

  • I have searched the existing issues and my improvement has not been raised yet.

What would you like to see added and/or changed?

Currently the text selection isn't configurable via an option. See:

set -gF mode-style "bg=#{@thm_surface_0},bold"

The issue is that I was unable to override it with another color, even by setting it after the plugin:

set -g @plugin 'catppuccin/tmux#v2.1.0'

# Doesn't work:
set -gF mode-style "bg=blue,bold"

The only way I was able to work around it was by using a hook:

set -g @plugin 'catppuccin/tmux#v2.1.0'

# This works:
set-hook -g client-attached "run-shell 'tmux set-option -gF mode-style \"bg=blue,bold\"'"

It'd be great to add an option to control that specific setting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions