This patch: - improves the ctrl+r recollection mechanism - sets vi mode on shell startup
instead of searching ~/doc, search the current directory. the old functionality can be restored by passing -a to the function.