Smart search field: place cursor at the end of the field
Created by: lguychard
Fixes #8731
Combined with the scoping introduced in https://github.com/sourcegraph/sourcegraph/pull/9225, this brings the nice added benefit of a zero-click search in current file using Sourcegraph: