The normal mode command gf go to a file with the path the cursor currently is at.But it does so in the current window, replacing the current text. That means you need to navigate back explicitly to go to the back later,and that you need to write changes in the current buffer potentially.I'm sure it's possible with opening the file under cursor in a new tabview instead?
Open filename under cursor like gf, but in a new tab (or split)?
key bindings;multiple files