This is a file and buffer management topic. You can check the relevant documents. I come up with some commands that may interest you:
CTRL+^ : go to the last edited file in the same window.
gf : go to the file if you can find the link under the cursor.
:bn :bp : skip to the next or previous buffer.
:n :n : skip to the next or previous arg file.
And there is a plugin called unimpaired that will make you happier!
If you want to go to the file as you like:
:b partial_word , then press Tab , you will get automatic completion.
:ls , then :b a_number to go to this buffer.
Some plugins, such as bufexplorer, nerdtree, are very useful. But in this situation, you can consider CtrlP , which very quickly look for all the files!
source share