Vim行范围基于搜索

我将如何在vim中执行以下操作?

:1,/time s/import/new/g

我正在尝试做的是:

- `:1,` from line 1...
- `/time` until the (first) match of the word 'time'
- `s/import/new/g` substitute the word 'import' with the word 'new'