Search code examples
emacssshtrampido

Refresh remote directory in Emacs Tramp Mode


I've been using Tramp mode on my Emacs to edit files remotely. I'm also using ido mode. 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 C-x C-f). Is there a way to refresh Tramp?


Solution

  • As documented here, you can press g in the dired buffer to run revert-buffer and refresh the directory listing.