Extend key bindings for prompt commands to support predefined searches
commitd0b2b352f2f4a4da4b551f845fea9fc771c3dff9
authorJonas Fonseca <jonas.fonseca@gmail.com>
Sat, 8 Mar 2014 16:28:50 +0000 (8 11:28 -0500)
committerJonas Fonseca <jonas.fonseca@gmail.com>
Sat, 8 Mar 2014 16:28:50 +0000 (8 11:28 -0500)
treeaa623cfad8083aeb50193aaf8dcca5d9d1027bf3
parent2890c02c2918a2813eb04d86b61c7ccfa70297de
Extend key bindings for prompt commands to support predefined searches

This adds support for binding keys to `:/<pattern>` and `:?<pattern>`,
for example:

bind stage 2 :?^@@

Based on this request by joelpet on stackoverflow:
 - http://stackoverflow.com/questions/22224598/find-previous-chunk-to-stage
NEWS.adoc
doc/tigrc.5.adoc
src/tig.c