你如何从Vim中的'gf'返回 [英] How do you return from 'gf' in Vim

查看:1089
本文介绍了你如何从Vim中的'gf'返回的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将Vim用于以Unix模式安装的Windows。多亏了此站点,我现在使用 gf 命令转到光标下方的文件。

I am using Vim for windows installed in Unix mode. Thanks to this site I now use the gf command to go to a file under the cursor.

我寻找以下命令之一:


  1. 返回上一个文件(类似于
    Ctrl + T (用于ctags)),或

  2. 重新映射 gf
    自动启动新文件
    在新窗口中。

  1. return to the previous file (similar to Ctrl+T for ctags), or
  2. remap gf to automatically launch the new file in a new window.


推荐答案

我使用 Ctrl - O

这篇关于你如何从Vim中的'gf'返回的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆