Suppose I have two files with the following filepaths:
~/another/project/file1.txt
~/this/is/some/very/deep/project/file2.txt
As you could see, file1.txt
and file2.txt
are located "far way" from each other in the filesystem.
Now suppose I'm editing file1.txt
, and I want to open up file2.txt
in a vsplit
window. The fastest method I'd chose to open up file2.txt
is
:vsplit ~/this/is/some/very/deep/project/file2.txt
which is obviously not efficient, even with fuzzy completion.
Is there a way to quickly "bookmark" or "jump to a directory" to reach file2.txt
quickly?
My initial thoughts would be to execute a command from the shell (within command mode, using !
) to somehow facilitate the jumping. Using something like jump might help, but I wouldn't know how.