- commands
- urls
- variable names of settings
+ - search-queries
- hinting - marks links, form fields and other clickable elements to be
clicked, opened or inspected
- webinspector that opens ad the bottom of the browser window like in some
be matched by their url, the bookmarks only by their tags. If multiple tags
are given to get the bookmarks, only those bookmarks will be returned, that
matches all the given tags or that don't have any tag set.
+.IP \n+[step]
+Searchqueries `/' or `?'
.RE
.TP
.B complete-back
);
history_list_free(&source);
- } else {
+ } else if (*input == ':') {
char *command = NULL;
/* remove counts before command and save it to print it later in inputbox */
comps.count = g_ascii_strtoll(&input[1], &command, 10);
":"
);
g_list_free(source);
+ } else if (*input == '/' || *input == '?') {
+ source = g_list_sort(history_get_all(HISTORY_SEARCH), (GCompareFunc)g_strcmp0);
+ comps.completions = init_completion(
+ comps.completions,
+ filter_list(tmp, source, (Comp_Func)g_str_has_prefix, &input[1]),
+ *input == '/' ? "/" : "?"
+ );
+ g_list_free(source);
}
if (!comps.completions) {