Changed completion of history an bookmarks (#27).
authorDaniel Carl <danielcarl@gmx.de>
Fri, 31 May 2013 15:03:31 +0000 (17:03 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Fri, 31 May 2013 23:30:25 +0000 (01:30 +0200)
commitd95b20c27f9eced42521b7ec00e43ebd37d335f9
treee3835d43b23e2b872c6df43574f8a0d2c5c75aee
parent8c5176e100e4b473b5cede49c3eae2a497d2ede7
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.
src/bookmark.c
src/command.c
src/command.h
src/completion.c
src/history.c
src/history.h
src/setting.c
src/setting.h
src/util.c
src/util.h