Tip: #299 - Open file under cursor
Created: August 6, 2002 4:23 Complexity: intermediate Author: Little Dragon Version: 5.7 Karma: -5/18 Imported from: Tip#299
The following commands open the file name under the cursor:
- gf to open it in the same window
- <c-w>f to open it in a new window
- <c-w>gf to open it in a new tab
See :help gf, :help ctrl-w_f, :help ctrl-w_gf for more details.
You can come back to the previous buffer using <c-^> or <c-o>. See :help ctrl-^ and :help ctrl-o for more details.