没有选择什么emacs ido建议? [英] Not selecting what emacs ido is suggesting?

查看:161
本文介绍了没有选择什么emacs ido建议?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我当前的工作目录〜/ WD 中有一个 abc.txt 文件。现在我想在子目录〜/ WD / NEW / 下再创建一个 abc.txt 。当我键入 Cx Cf 和目录〜/ WD / NEW / abc.txt 时,ido将字符串更改为〜/ WD / abc.txt ,这不是我想要打开的。当我尝试修改字符串时,ido会自动将我的输入正确给错误的字符串。

In my current working directory ~/WD there is a abc.txt file. Now I want to make another abc.txt under a sub directory ~/WD/NEW/. As I type C-x C-f and the directory ~/WD/NEW/abc.txt, ido is changing the string into ~/WD/abc.txt, which is not what I want to open. As I try to modify the string back, ido automatically "correct" my input into the wrong string again.

有没有办法解决这个问题?

Is there any way to solve this issue?

推荐答案

如果您使用 ido 打开文件,而您要在$ code> ido 中间,您可以使用 Cf 。例如:

If you're using ido to open a file and you want to "step out" of ido in the middle of completing, you can use C-f. For example:


  1. Ctrl + X Ctrl + F find-file

Find file: ~/{ .emacs.d/ | bin/ | some-file.txt | tmp/ ... }


  • T 输入 ido 的窄选项)

    Find file: ~/tmp/{ file1.txt | file2.txt | subdir/ }
    


  • Ctrl + < kbd>(退出 ido 模式)

    Find file: ~/tmp/
    


  • 这篇关于没有选择什么emacs ido建议?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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