1200字范文,内容丰富有趣,写作的好帮手!
1200字范文 > vim 如何根据文本中的路径 跳转到指定文件 gf

vim 如何根据文本中的路径 跳转到指定文件 gf

时间:2024-03-14 22:32:41

相关推荐

vim 如何根据文本中的路径 跳转到指定文件 gf

1. 把光标放到指定路径上,按gf,就可以跳转了gf means go to fileVim has to determine where the file name starts and ends. It does that by taking all characters matching the 'isfname' option.Alternatively, you can visually select the file name, then type gf in which case Vim will use the selected text2. 在跳转后的文件中,:bd,就可以回到原来的文件

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。