ido

Emacs: disable Ido completion in Tramp mode

老子叫甜甜 提交于 2019-12-04 02:37:32
I often use ido for auto-completion and tramp to access remote server via ssh. My .emacs includes the following lines: (require 'tramp) (setq tramp-default-method "ssh") (ido-mode 1) (setq ido-enable-flex-matching t) (setq ido-everywhere t) I want to disable Ido completion, when i'm browsing contents of remote server. Note that variable ido-enable-tramp-completion has nothing to do with my problem. Consider line /root@site.com#1234:/var/www/file.txt . I need Ido not to deduct the part after the colon (remote file path), i don't care about the part before the colon. I use ssh, and Ido makes

Not selecting what emacs ido is suggesting? [duplicate]

不羁岁月 提交于 2019-11-30 18:41:14
问题 This question already has an answer here : Ido mode is too smart, can I get it to NOT complete a filename? (1 answer) Closed 5 years ago . 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