简体   繁体   English

在Emacs Tramp模式下刷新远程目录

[英]Refresh remote directory in Emacs Tramp Mode

I've been using Tramp mode on my Emacs to edit files remotely. 我一直在我的Emacs上使用Tramp模式远程编辑文件。 I'm also using ido mode. 我也在使用ido模式。 When I add a new file in the same directory of a file I opened using Tramp, I couldn't get Tramp to find the new file(with Cx Cf). 当我在使用Tramp打开的文件的同一目录中添加新文件时,我无法让Tramp找到新文件(使用Cx Cf)。 Is there a way to refresh Tramp? 有没有办法刷新Tramp?

Your question is about ido-mode used with tramp. 你的问题是与tramp一起使用的ido模式。 To refresh ido auto-complete while in the process of finding a file, you can press Cl ido-reread-directory . 要在查找文件的过程中刷新ido自动完成,可以按Cl ido-reread-directory

如此处所述 ,您可以在dired缓冲区中按g以运行revert-buffer并刷新目录列表。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM