Add copy-mode-position-style and copy-mode-selection-style for copy

mode (they default to mode-style as before).
This commit is contained in:
nicm
2024-11-26 15:52:41 +00:00
parent 67cc7f6dc6
commit 6f7db82b18
3 changed files with 46 additions and 7 deletions

View File

@ -1026,6 +1026,24 @@ const struct options_table_entry options_table[] = {
.text = "Format of the position indicator in copy mode."
},
{ .name = "copy-mode-position-style",
.type = OPTIONS_TABLE_STRING,
.scope = OPTIONS_TABLE_WINDOW,
.default_str = "#{mode-style}",
.flags = OPTIONS_TABLE_IS_STYLE,
.separator = ",",
.text = "Style of position indicator in copy mode."
},
{ .name = "copy-mode-selection-style",
.type = OPTIONS_TABLE_STRING,
.scope = OPTIONS_TABLE_WINDOW,
.default_str = "#{mode-style}",
.flags = OPTIONS_TABLE_IS_STYLE,
.separator = ",",
.text = "Style of selection in copy mode."
},
{ .name = "fill-character",
.type = OPTIONS_TABLE_STRING,
.scope = OPTIONS_TABLE_WINDOW,