If you have vim open, you can open a file for editing using the :e <filepath>
command.
If you want to have multiple files open simultaneously in the same vim session, you can use windows. You can open a new window with Ctrl-W n
, then use :e <filepath>
to open the file in the new window. It's probably better for you to find a tutorial for how to use windows than for me to do a poor job explaining how here. They're not too difficult to use though.
Another alternative is to have a separate vim session for each file, then to cycle through them as needed using job processing. I'm not familiar with the zsh syntax, but in bash, you can press Ctrl-Z
to pause the currently running job and return to the command line, and resume a job with fg %n
where n is the job number you want to resume. So you can use these to open file 1 with vim, pause vim, open up file 2 with a new vim session, pause it, and alternate back and forth with pausing and foregrounding as necessary.
Hope this helps!