summaryrefslogtreecommitdiff
path: root/src/plugins/fset/fset-buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/fset/fset-buffer.c')
-rw-r--r--src/plugins/fset/fset-buffer.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/plugins/fset/fset-buffer.c b/src/plugins/fset/fset-buffer.c
index 40cfcf3c0..b8ee79d0e 100644
--- a/src/plugins/fset/fset-buffer.c
+++ b/src/plugins/fset/fset-buffer.c
@@ -78,6 +78,8 @@ fset_buffer_set_title ()
"shift+up=mark and move up, "
"($)=refresh, "
"($$)=unmark/refresh, "
+ "(m)=mark matching options, "
+ "(u)=unmark matching options, "
"alt+p(p)=toggle plugins desc, "
"alt+v(v)=toggle help bar, "
"ctrl+X(x)=switch format, "
@@ -893,6 +895,20 @@ fset_buffer_input_cb (const void *pointer, void *data,
return WEECHAT_RC_OK;
}
+ /* mark options matching filter */
+ if (strncmp (input_data, "m:", 2) == 0)
+ {
+ fset_option_mark_options_matching_filter (input_data + 2, 1);
+ return WEECHAT_RC_OK;
+ }
+
+ /* unmark options matching filter */
+ if (strncmp (input_data, "u:", 2) == 0)
+ {
+ fset_option_mark_options_matching_filter (input_data + 2, 0);
+ return WEECHAT_RC_OK;
+ }
+
/* change sort of options */
if (strncmp (input_data, "s:", 2) == 0)
{