Allow multiple placeholder in shortcuts.
authorDaniel Carl <danielcarl@gmx.de>
Sun, 28 Apr 2013 12:35:27 +0000 (14:35 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Sun, 28 Apr 2013 12:53:15 +0000 (14:53 +0200)
commitd055308b89c925224661fb54e8a4cf73349f1272
treebf098b71c3fc769678c1eaf2d5a2045e4de9bd60
parent503cb4af1633d1064c41043691c25f56543019db
Allow multiple placeholder in shortcuts.

The single previous %s placeholder for url shortcuts is now removed by
placeholders $0-$9 that make vimb browser more usable and the shortcut system
more flexible.

The $0 placeholder will be removed by all query parameter. So the previous
search engine feature can be build up with this new shortcut feature. For
example use 'dl=https://duckduckgo.com/lite/?q=$0' to define a shortcut for
the great duckduckgo search engine.
doc/vimb.1.txt
src/config.h
src/setting.c
src/shortcut.c
src/util.c
src/util.h