vim shortcut to open a file under cursor in an already opened window
24
votes
5
answers
19552
views
In vim you can open a file under the cursor by using the
gf
command.
One can also easily open that file in a new split window by hitting f
. This is a really nice and time saving feature.
However, I can't figure out, how to open the file in an already opened split window (without creating a new one).
Asked by psibar
(509 rep)
May 3, 2013, 01:08 PM
Last activity: Aug 24, 2021, 02:55 AM
Last activity: Aug 24, 2021, 02:55 AM