Simplified the shortcut system.
authorDaniel Carl <danielcarl@gmx.de>
Sun, 5 May 2013 11:58:31 +0000 (13:58 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Sun, 5 May 2013 11:58:31 +0000 (13:58 +0200)
commitee19f17849f6526556e7d717f16b48e6066c55cd
tree716d06048d4f21e72ff227b5766197f51031852d
parent08c8c7730ec62a4d09d8889caa549367eaca4294
Simplified the shortcut system.

Don't treat the $0 with a special meaning to be filled by the whole query
string. Instead split the query string into as many parts like the highest
available placeholder + 1. That means if only $0 is used in a shortcut this
will also be replaced by the whole query string, but it could also be only the
first parameter in the case when the shortcut contains also other
placeholders.
doc/vimb.1.txt
src/shortcut.c