2017-10-13 45 views

回答

5

您可以使用<c-r><c-f>(或<cfile>)來獲取光標上的文件名。

nnoremap cgf :e <c-w><c-f><cr> 

如需更多幫助,請參見:

:h c_CTRL-R_CTRL-F 
:h <cfile>