Fix bug where vim commands were copied on each update_matches (#3680)

In zed1, the array of commands was recalculated on every update_matches,
In zed2 it's cached before we change the focus.

Release Notes:

- N/A
3c3e5ed7d8Conrad Irwin committed on 12/15/2023, 8:20:10 PM· committed by GitHubparentsb1a61cad0dbf8e
1 file changedLine totals unavailable