vim: Fix search submit panic (#25673)

In file search submit action, handle unwrap when there are no prior
selection.

Fix is for recently made commits, hence no release notes.

Release Notes:

- N/A

---------

Co-authored-by: Anthony Eid <anthony@zed.dev>
b6e8db244csmit committed on 2/26/2025, 7:10:46 PM· committed by GitHubparent6267ab0
1 file changedLine totals unavailable