summaryrefslogtreecommitdiff
path: root/src/command.h
diff options
context:
space:
mode:
authorDaniel Carl <danielcarl@gmx.de>2013-05-31 17:03:31 +0200
committerDaniel Carl <danielcarl@gmx.de>2013-06-01 01:30:25 +0200
commitd95b20c27f9eced42521b7ec00e43ebd37d335f9 (patch)
treee3835d43b23e2b872c6df43574f8a0d2c5c75aee /src/command.h
parent8c5176e100e4b473b5cede49c3eae2a497d2ede7 (diff)
Changed completion of history an bookmarks (#27).
Now we distinct between history completion and bookmark completion. 1. Bookmark completion is triggered by ':open !<tab>' to complete all bookmarks or by ':open !tag1 tag2' to complete only those bookmarks that have tags with the prefixes tag1 and tag2. 2. History completion is changed to split the search query at the space char and to search for all given words in the history. Only those history items are completed, that match all given words or tags. 3. Search completion works now also tag based like the url and bookmark completions.
Diffstat (limited to 'src/command.h')
-rw-r--r--src/command.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.h b/src/command.h
index b7f49f7..5d234c0 100644
--- a/src/command.h
+++ b/src/command.h
@@ -21,7 +21,7 @@
#define _COMMAND_H
void command_init(void);
-GList *command_get_all(void);
+GList *command_get_by_prefix(const char *prefix);
void command_cleanup(void);
gboolean command_exists(const char *name);
gboolean command_run(const char *name, const char *param);